Clarify libseccomp-devel in guide

Signed-off-by: Harry Zhang <harryz@hyper.sh>
This commit is contained in:
Harry Zhang 2016-10-31 03:04:51 -04:00
parent 4c8007f34a
commit 4d76a85559
1 changed files with 5 additions and 3 deletions

View File

@ -17,6 +17,11 @@ You can find official releases of `runc` on the [release](https://github.com/ope
`runc` currently supports the Linux platform with various architecture support.
It must be built with Go version 1.6 or higher in order for some features to function properly.
In order to enable seccomp support you will need to install `libseccomp` on your platform.
> e.g. `libseccomp-devel` for CentOS, or `libseccomp-dev` for Ubuntu
Otherwise, if you do not want to build `runc` with seccomp support you can add `BUILDTAGS=""` when running make.
```bash
# create a 'github.com/opencontainers' in your GOPATH/src
cd github.com/opencontainers
@ -29,9 +34,6 @@ sudo make install
`runc` will be installed to `/usr/local/sbin/runc` on your system.
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.
#### Build Tags
`runc` supports optional build tags for compiling support of various features.