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, by removing incompatible options and adding others that are needed.

Source Files

example.go

Version
v1.0.0-rc5
Published
Feb 27, 2018
Platform
windows/amd64
Imports
3 packages
Last checked
21 minutes ago

Tools for package owners.