From 4d76a85559c6a23d41e54cb05ef9a4f4f23d4a25 Mon Sep 17 00:00:00 2001 From: Harry Zhang Date: Mon, 31 Oct 2016 03:04:51 -0400 Subject: [PATCH] Clarify libseccomp-devel in guide Signed-off-by: Harry Zhang --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index df42c0a5f..b8ed43fc7 100644 --- a/README.md +++ b/README.md @@ -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.