Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToRootless ¶
func ToRootless(spec *specs.Spec) error
ToRootless converts spec to be compatible with "rootless" runc. * Adds userns (Note: since we are already in userns, ideally we should not need to do this. runc-side issue is tracked at https://github.com/opencontainers/runc/issues/1837) * Fix up mount flags (same as above) * Replace /sys with bind-mount (FIXME: we don't need to do this if netns is unshared)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.