restrict

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL