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.0.0-rc92
- Published
- Aug 5, 2020
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 42 minutes ago –
Tools for package owners.