package specconv

import "github.com/opencontainers/runc/libcontainer/specconv"

Package specconv implements conversion of specifications to libcontainer configurations

Index

Functions

func CreateLibcontainerConfig

func CreateLibcontainerConfig(opts *CreateOpts) (*configs.Config, error)

CreateLibcontainerConfig creates a new libcontainer configuration from a given specification and a cgroup name

Types

type CreateOpts

type CreateOpts struct {
	CgroupName       string
	UseSystemdCgroup bool
	NoPivotRoot      bool
	NoNewKeyring     bool
	Spec             *specs.Spec
}

Source Files

spec_linux.go

Version
v1.0.0-rc3
Published
Mar 21, 2017
Platform
linux/amd64
Imports
10 packages
Last checked
43 minutes ago

Tools for package owners.