You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the only remaining part is now libcontainer/cgroups (but that brings in libcontainer/userns and libcontainer/configs, libcontainer/devices. The only uses are in daemon: withCgroups(), and for these utilities;
The runc maintainers have indicated that the
libcontainer
package is not intended for external consumption, and because of that has an "unstable" API.We should reduce our use of this dependency.
libcontainer/cgroups
Use the container/cgroups package (https://github.com/containerd/cgroups) instead of libcontainer/cgroups (where possible), e.g. see Fix setting swaplimit=true without checking memory.swap.max #42071 (comment).libcontainer/configs
libcontainer/devices
: vendor: github.com/opencontainers/runc v1.0.0-rc95 #42143libcontainer/cgroups
libcontainer/devices
used foroci.Device
,oci.DevicesFromPath()
. Need to look what's needed (and if this can be replaced with code from containerd; oci.DeviceFromPath() switch to use containerd implementation #43055libcontainer/userns
libcontainer/cgroups
libcontainer/nsenter
is not used, but vendored because it has c codelibcontainer/user
Is still needed; perhaps this package should live elsewhere (also used by containerd); migrate to github.com/moby/sys/user #46711The text was updated successfully, but these errors were encountered: