You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
containerd is built with OCI support and with support for advanced features
2
-
provided by [runc](https://github.com/opencontainers/runc).
4
+
provided by the [runc container runtime](https://github.com/opencontainers/runc).
3
5
4
6
Development (`-dev`) and pre-releases of containerd may depend features in `runc`
5
7
that have not yet been released, and may require a specific runc build. The version
@@ -14,35 +16,25 @@ or higher than the version of runc described in [`script/setup/runc-version`](..
14
16
If you encounter any runtime errors, make sure your runc is in sync with the
15
17
commit or tag provided in that file.
16
18
17
-
## building
18
-
19
-
> For more information on how to clone and build runc also refer to the runc
20
-
> building [documentation](https://github.com/opencontainers/runc#building).
21
-
22
-
Before building runc you may need to install additional build dependencies, which
23
-
will vary by platform. For example, you may need to install `libseccomp` e.g.
24
-
`libseccomp-dev` for Ubuntu.
19
+
If you do not have the correct version of `runc` installed, you can refer to the
20
+
["building" section in the runc documentation](https://github.com/opencontainers/runc#building)
21
+
to learn how to build `runc` from source.
25
22
26
-
From within your `opencontainers/runc` repository run:
23
+
runc builds have [SELinux](https://en.wikipedia.org/wiki/Security-Enhanced_Linux),
24
+
[AppArmor](https://en.wikipedia.org/wiki/AppArmor), and [seccomp](https://en.wikipedia.org/wiki/seccomp)
25
+
support enabled by default.
27
26
28
-
```bash
29
-
make && sudo make install
30
-
```
31
-
32
-
Starting with runc 1.0.0-rc93, the "selinux" and "apparmor" buildtags have been
33
-
removed, and runc builds have SELinux, AppArmor, and seccomp support enabled
34
-
by default. Note that "seccomp" can be disabled by passing an empty `BUILDTAGS`
35
-
make variable, but is highly recommended to keep enabled.
27
+
Note that "seccomp" can be disabled by passing an empty `BUILDTAGS` make
28
+
variable, but is highly recommended to keep enabled.
36
29
37
-
By default, runc is compiled with kernel-memory limiting support enabled. This
38
-
functionality is deprecated in kernel 5.4 and up, and is known to be broken on
39
-
RHEL7 and CentOS 7 3.10 kernels. For these kernels, we recommend disabling kmem
40
-
support using the `nokmem` build-tag. When doing so, be sure to set the `seccomp`
41
-
build-tag to enable seccomp support, for example:
30
+
Use the output of the `runc --version` output to verify if your version of runc
31
+
has seccomp enabled. For example:
42
32
43
33
```sh
44
-
make BUILDTAGS='nokmem seccomp'&& make install
34
+
$ runc --version
35
+
runc version 1.0.1
36
+
commit: v1.0.1-0-g4144b638
37
+
spec: 1.0.2-dev
38
+
go: go1.16.6
39
+
libseccomp: 2.4.4
45
40
```
46
-
47
-
For details about the `nokmem` build-tag, refer to the discussion on [opencontainers/runc#2594](https://github.com/opencontainers/runc/pull/2594).
48
-
For further details on building runc, refer to the [build instructions in the runc README](https://github.com/opencontainers/runc#building).
0 commit comments