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

example.go

Version
v1.0.0-rc91
Published
Jun 30, 2020
Platform
js/wasm
Imports
4 packages
Last checked
10 minutes ago

Tools for package owners.