package restrict

import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/docker/libcontainer/security/restrict"

Index

Functions

func Restrict

func Restrict(mounts ...string) error

This has to be called while the container still has CAP_SYS_ADMIN (to be able to perform mounts). However, afterwards, CAP_SYS_ADMIN should be dropped (otherwise the user will be able to revert those changes).

Source Files

restrict.go

Version
v0.13.1-dev
Published
Mar 16, 2015
Platform
linux/amd64
Imports
4 packages
Last checked
3 minutes ago

Tools for package owners.