Release notes: https://github.com/opencontainers/runc/releases/tag/v1.0.0-rc5
Possibly relevant changes included:
- chroot when no mount namespaces is provided
- fix systemd slice expansion so that it could be consumed by cAdvisor
- libcontainer/capabilities_linux: Drop os.Getpid() call
- Update console dependency to fix runc exec on BE (causing: `container_linux.go:265: starting container process caused "open /dev/pts/4294967296: no such file or directory"`)
- libcontainer: setupUserNamespace is always called (fixes: Devices are mounted with wrong uid/gid)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
#!/bin/sh |
| 2 | 2 |
|
| 3 | 3 |
# When updating RUNC_COMMIT, also update runc in vendor.conf accordingly |
| 4 |
-RUNC_COMMIT=6c55f98695e902427906eed2c799e566e3d3dfb5 |
|
| 4 |
+RUNC_COMMIT=4fc53a81fb7c994640722ac585fa9ca548971871 |
|
| 5 | 5 |
|
| 6 | 6 |
install_runc() {
|
| 7 | 7 |
# Do not build with ambient capabilities support |
| ... | ... |
@@ -72,7 +72,7 @@ github.com/pborman/uuid v1.0 |
| 72 | 72 |
google.golang.org/grpc v1.3.0 |
| 73 | 73 |
|
| 74 | 74 |
# When updating, also update RUNC_COMMIT in hack/dockerfile/install/runc accordingly |
| 75 |
-github.com/opencontainers/runc 6c55f98695e902427906eed2c799e566e3d3dfb5 |
|
| 75 |
+github.com/opencontainers/runc 4fc53a81fb7c994640722ac585fa9ca548971871 |
|
| 76 | 76 |
github.com/opencontainers/runtime-spec v1.0.1 |
| 77 | 77 |
github.com/opencontainers/image-spec v1.0.1 |
| 78 | 78 |
github.com/seccomp/libseccomp-golang 32f571b70023028bd57d9288c20efbcb237f3ce0 |
| ... | ... |
@@ -41,8 +41,18 @@ make |
| 41 | 41 |
sudo make install |
| 42 | 42 |
``` |
| 43 | 43 |
|
| 44 |
+You can also use `go get` to install to your `GOPATH`, assuming that you have a `github.com` parent folder already created under `src`: |
|
| 45 |
+ |
|
| 46 |
+```bash |
|
| 47 |
+go get github.com/opencontainers/runc |
|
| 48 |
+cd $GOPATH/src/github.com/opencontainers/runc |
|
| 49 |
+make |
|
| 50 |
+sudo make install |
|
| 51 |
+``` |
|
| 52 |
+ |
|
| 44 | 53 |
`runc` will be installed to `/usr/local/sbin/runc` on your system. |
| 45 | 54 |
|
| 55 |
+ |
|
| 46 | 56 |
#### Build Tags |
| 47 | 57 |
|
| 48 | 58 |
`runc` supports optional build tags for compiling support of various features. |
| ... | ... |
@@ -21,5 +21,5 @@ github.com/urfave/cli d53eb991652b1d438abdd34ce4bfa3ef1539108e |
| 21 | 21 |
golang.org/x/sys 7ddbeae9ae08c6a06a59597f0c9edbc5ff2444ce https://github.com/golang/sys |
| 22 | 22 |
|
| 23 | 23 |
# console dependencies |
| 24 |
-github.com/containerd/console 84eeaae905fa414d03e07bcd6c8d3f19e7cf180e |
|
| 24 |
+github.com/containerd/console 2748ece16665b45a47f884001d5831ec79703880 |
|
| 25 | 25 |
github.com/pkg/errors v0.8.0 |