specconv

package
v0.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 2 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToRootless

func ToRootless(spec *specs.Spec) ([]string, error)

ToRootless converts spec to be compatible with "rootless" runc. * Remove /sys mount * Remove cgroups

It returns the destinations of the mounts it removed. A rootful runtime creates these directories in the rootfs while setting the mounts up, so the caller needs to create them as well for the mount points left behind not to depend on the rootless mode.

See docs/rootless.md for the supported runc revision.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL