package oci

import "github.com/dotcloud/docker/oci"

Index

Functions

func DefaultSpec

func DefaultSpec() specs.Spec

DefaultSpec returns default spec used by docker.

func Device

func Device(d *configs.Device) specs.Device

Device transforms a libcontainer configs.Device to a specs.Device object. Not implemented

func DevicesFromPath

func DevicesFromPath(pathOnHost, pathInContainer, cgroupPermissions string) (devs []specs.Device, devPermissions []specs.DeviceCgroup, err error)

DevicesFromPath computes a list of devices and device permissions from paths (pathOnHost and pathInContainer) and cgroup permissions. Not implemented

func RemoveNamespace

func RemoveNamespace(s *specs.Spec, nsType specs.NamespaceType)

RemoveNamespace removes the `nsType` namespace from OCI spec `s`

Source Files

defaults_windows.go devices_unsupported.go namespaces.go

Version
v1.13.0-rc6
Published
Jan 11, 2017
Platform
windows/amd64
Imports
4 packages
Last checked
1 minute ago

Tools for package owners.