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
	Spec             *specs.Spec
}

Source Files

spec_linux.go

Version
v1.0.0-rc1
Published
Jun 3, 2016
Platform
linux/amd64
Imports
12 packages
Last checked
58 seconds ago

Tools for package owners.