package specconv
import "github.com/opencontainers/runc/libcontainer/specconv"
Index ¶
Functions ¶
func Example ¶
func Example() *specs.Spec
Example returns an example spec file, with many options set so a user can see what a standard spec file looks like.
func ToRootless ¶
func ToRootless(spec *specs.Spec)
ToRootless converts the given spec file into one that should work with rootless containers (euid != 0), by removing incompatible options and adding others that are needed.
Source Files ¶
- Version
- v1.2.2
- Published
- Nov 15, 2024
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 3 hours ago –
Tools for package owners.