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` uses [Btrfs](https://en.wikipedia.org/wiki/Btrfs) it means that you
41
-
need to satisfy these dependencies in your system:
40
+
To enable optional [Btrfs](https://en.wikipedia.org/wiki/Btrfs) snapshotter, you should have the headers from the Linux kernel 4.12 or later.
41
+
The dependency on the kernel headers only affects users building containerd from source.
42
+
Users on older kernels may opt to not compile the btrfs support (see `BUILDTAGS=no_btrfs` below),
* Note with CentOS 9: [Btrfs has been deprecated](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/ch-btrfs) in RHEL / CentOS 7.4, and removed in RHEL/CentOS 9 .
45
-
Please see the [release notes](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.4_release_notes/chap-red_hat_enterprise_linux-7.4_release_notes-deprecated_functionality_in_rhel7#idm139789147351408) for additional information on deprecated features.
* For unsupported [Btrfs](https://en.wikipedia.org/wiki/Btrfs) system:
49
-
* Use the `no_btrfs` build tag to build without btrfs support.
45
+
> **Note**
46
+
> The dependency on the Linux kernel headers 4.12 was introduced in containerd 1.7.0-beta.4.
47
+
>
48
+
> containerd 1.6 has different set of dependencies for enabling btrfs.
49
+
> containerd 1.6 users should refer to https://github.com/containerd/containerd/blob/release/1.6/BUILDING.md#build-the-development-environment
50
50
51
51
At this point you are ready to build `containerd` yourself!
52
52
@@ -145,9 +145,6 @@ You can build an image from this `Dockerfile`:
145
145
146
146
```dockerfile
147
147
FROM golang
148
-
149
-
RUN apt-get update && \
150
-
apt-get install -y libbtrfs-dev
151
148
```
152
149
153
150
Let's suppose that you built an image called `containerd/build`. From the
@@ -184,7 +181,7 @@ We can build an image from this `Dockerfile`:
184
181
FROM golang
185
182
186
183
RUN apt-get update && \
187
-
apt-get install -y libbtrfs-dev libseccomp-dev
184
+
apt-get install -y libseccomp-dev
188
185
```
189
186
190
187
In our Docker container we will build `runc` build, which includes
0 commit comments