Darren Shepherd 03db5d1058 Update vendor/ | 8 年之前 | |
---|---|---|
.. | ||
libcontainer | 8 年之前 | |
.gitignore | 8 年之前 | |
CONTRIBUTING.md | 9 年之前 | |
Dockerfile | 8 年之前 | |
LICENSE | 9 年之前 | |
MAINTAINERS | 8 年之前 | |
MAINTAINERS_GUIDE.md | 9 年之前 | |
Makefile | 8 年之前 | |
NOTICE | 9 年之前 | |
PRINCIPLES.md | 9 年之前 | |
README.md | 8 年之前 | |
checkpoint.go | 8 年之前 | |
delete.go | 8 年之前 | |
events.go | 8 年之前 | |
exec.go | 8 年之前 | |
kill.go | 8 年之前 | |
list.go | 8 年之前 | |
main.go | 8 年之前 | |
main_unix.go | 8 年之前 | |
main_unsupported.go | 8 年之前 | |
pause.go | 8 年之前 | |
restore.go | 8 年之前 | |
rlimit_linux.go | 8 年之前 | |
signals.go | 8 年之前 | |
spec.go | 8 年之前 | |
start.go | 8 年之前 | |
state.go | 8 年之前 | |
tty.go | 8 年之前 | |
utils.go | 8 年之前 |
runc
is a CLI tool for spawning and running containers according to the OCF specification.
Currently runc
is an implementation of the OCI specification. We are currently sprinting
to have a v1 of the spec out. So the runc
config format will be constantly changing until
the spec is finalized. However, we encourage you to try out the tool and give feedback.
How does runc
integrate with the Open Container Initiative Specification?
runc
depends on the types specified in the
specs repository. Whenever the
specification is updated and ready to be versioned runc
will update its dependency
on the specs repository and support the update spec.
At the time of writing, runc only builds on the Linux platform.
# create a 'github.com/opencontainers' in your GOPATH/src
cd github.com/opencontainers
git clone https://github.com/opencontainers/runc
cd runc
make
sudo make install
In order to enable seccomp support you will need to install libseccomp on your platform.
If you do not want to build runc
with seccomp support you can add BUILDTAGS=""
when running make.
runc
supports optional build tags for compiling in support for various features.
Build Tag | Feature | Dependency |
---|---|---|
seccomp | Syscall filtering | libseccomp |
selinux | selinux process and mount labeling | |
apparmor | apparmor profile support | libapparmor |