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)

ExampleRootless returns an example spec file that works with rootless containers. It's essentially a modified version of the specfile from Example().

Source Files

example.go

Version
v1.0.0-rc4
Published
Aug 2, 2017
Platform
windows/amd64
Imports
3 packages
Last checked
7 hours ago

Tools for package owners.