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
Published
Jun 17, 2021
Platform
js/wasm
Imports
5 packages
Last checked
3 hours ago

Tools for package owners.