Documentation
¶
Overview ¶
Package specconv implements conversion of specifications to libcontainer configurations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLibcontainerConfig ¶
func CreateLibcontainerConfig(opts *CreateOpts) (*configs.Config, error)
CreateLibcontainerConfig creates a new libcontainer configuration from a given specification and a cgroup name
func Example ¶ added in v1.0.0
Example returns an example spec file, with many options set so a user can see what a standard spec file looks like.
func SetupSeccomp ¶ added in v1.0.0
func SetupSeccomp(config *specs.LinuxSeccomp) (*configs.Seccomp, error)
func ToRootless ¶ added in v1.0.0
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.
Types ¶
Click to show internal directories.
Click to hide internal directories.