Documentation
¶
Index ¶
- func Boot(configFd, logFd string) (err error)
- type Config
- type Option
- func DefaultMounts(rootFs string) []Option
- func DefaultNodeDevs(rootFs string) []Option
- func DevMount(rootFs string) Option
- func FullDev(rootFs string) Option
- func MqueueMount(rootFs string) Option
- func NullDev(rootFs string) Option
- func ProcMount(rootFs string) Option
- func PtmxDev(rootFs string) Option
- func PtsMount(rootFs string) Option
- func RandomDev(rootFs string) Option
- func ShmMount(rootFs string) Option
- func SysMount(rootFs string) Option
- func TmpMount(rootFs string) Option
- func TtyDev(rootFs string) Option
- func URandomDev(rootFs string) Option
- func ZeroDev(rootFs string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func() error
func DefaultMounts ¶
DefaultMounts returns a list of the default device nodes for a container as specified at https://github.com/opencontainers/runc/blob/master/libcontainer/SPEC.md#filesystem
func DefaultNodeDevs ¶
DefaultNodeDevs returns a list of the default device nodes for a container as specified at https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#default-devices other refs:
https://github.com/opencontainers/runc/blob/master/libcontainer/SPEC.md#runtime-and-init-process https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#devices https://www.kernel.org/doc/Documentation/admin-guide/devices.txt
func MqueueMount ¶
func URandomDev ¶
Click to show internal directories.
Click to hide internal directories.