1containerd is built with OCI support and with support for advanced features provided by [runc](https://github.com/opencontainers/runc).
2
3We depend on a specific `runc` version when dealing with advanced features.  You should have a specific runc build for development.  The current supported runc commit is described in [`vendor.conf`](vendor.conf). Please refer to the line that starts with `github.com/opencontainers/runc`.
4
5For more information on how to clone and build runc see the runc Building [documentation](https://github.com/opencontainers/runc#building).
6
7Note: before building you may need to install additional support, which will vary by platform. For example, you may need to install `libseccomp` e.g. `libseccomp-dev` for Ubuntu.
8
9## building
10
11From within your `opencontainers/runc` repository run:
12
13### apparmor
14
15```bash
16make BUILDTAGS='seccomp apparmor' && sudo make install
17```
18
19### selinux
20
21```bash
22make BUILDTAGS='seccomp selinux' && sudo make install
23```
24
25After an official runc release we will start pinning containerd support to a specific version but various development and testing features may require a newer runc version than the latest release.  If you encounter any runtime errors, please make sure your runc is in sync with the commit/tag provided in this document.
26