Update docs to build a runc that works with systemd

Runc disables systemd cgroup support when build statically, so
don't tell people to do that now that we're defaulting to systemd
for cgroup management.

Also, fix some error messages to use the proper ID() call for
containers.

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
Matthew Heon
2018-09-27 15:30:43 -04:00
parent df978a264d
commit dd73525fd5
3 changed files with 5 additions and 5 deletions

View File

@ -85,7 +85,7 @@ $ sudo cp bin/* /usr/libexec/cni
```console
$ git clone https://github.com/opencontainers/runc.git $GOPATH/src/github.com/opencontainers/runc
$ cd $GOPATH/src/github.com/opencontainers/runc
$ make static BUILDTAGS="seccomp selinux"
$ make BUILDTAGS="seccomp"
$ sudo cp runc /usr/bin/runc
```