moby/pkg/sysinfo
Sebastiaan van Stijn 5d10c6ec67
Update handling of deprecated kernel (tcp) memory options
- Omit `KernelMemory` and `KernelMemoryTCP` fields in `/info` response if they're
  not supported, or when using API v1.42 or up.
- Re-enable detection of `KernelMemory` (as it's still needed for older API versions)
- Remove warning about kernel memory TCP in daemon logs (a warning is still returned
  by the `/info` endpoint, but we can consider removing that).
- Prevent incorrect "Minimum kernel memory limit allowed" error if the value was
  reset because it's not supported by the host.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-17 09:56:39 +01:00
..
cgroup2_linux.go pkg/sysinfo: remove libcontainer dependency 2022-03-07 18:09:09 -05:00
numcpu.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
numcpu_linux.go Use functions from x/sys/unix to get number of CPUs on Linux 2019-06-18 19:26:56 +02:00
numcpu_windows.go Use functions from x/sys/unix to get number of CPUs on Linux 2019-06-18 19:26:56 +02:00
README.md Add some basic doc for SysInfo 2015-03-26 23:05:07 -04:00
sysinfo.go Update handling of deprecated kernel (tcp) memory options 2022-03-17 09:56:39 +01:00
sysinfo_linux.go Update handling of deprecated kernel (tcp) memory options 2022-03-17 09:56:39 +01:00
sysinfo_linux_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
sysinfo_other.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
sysinfo_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00

SysInfo stores information about which features a kernel supports.