gocapability

command module
v0.0.0-...-028f6fa Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2016 License: BSD-2-Clause Imports: 6 Imported by: 0

README

go-binding tool to add the linux Capablities of running process or docker container

Add capablities to container

./gocapability -cap-add SYS_ADMIN,NET_ADMIN --name {container name}

Add capabilites to the process

./gocapability -cap-add SYS_ADMIN,NET_ADMIN --pid {pid}

Notice:

The Capabilities of process can only be applied by the current process.

But updating caps by changing cgroup will be supported in kernel level: https://patchwork.kernel.org/patch/9186239/

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package capability provides utilities for manipulating POSIX capabilities.
Package capability provides utilities for manipulating POSIX capabilities.

Jump to

Keyboard shortcuts

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