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
Copy file name to clipboardExpand all lines: Dockerfile
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ ARG CNI_ISOLATION_VERSION=0.0.3
11
11
ARG BUILDKIT_VERSION=0.8.2
12
12
# Extra deps: Lazy-pulling
13
13
ARG STARGZ_SNAPSHOTTER_VERSION=0.4.1
14
+
# Extra deps: Encryption
15
+
ARG IMGCRYPT_VERSION=1.1.0
14
16
# Extra deps: Rootless
15
17
ARG ROOTLESSKIT_VERSION=0.14.0-beta.0
16
18
ARG SLIRP4NETNS_VERSION=1.1.9
@@ -67,6 +69,11 @@ ARG STARGZ_SNAPSHOTTER_VERSION
67
69
RUN curl -L https://github.com/containerd/stargz-snapshotter/releases/download/v${STARGZ_SNAPSHOTTER_VERSION}/stargz-snapshotter-v${STARGZ_SNAPSHOTTER_VERSION}-linux-${TARGETARCH:-amd64}.tar.gz | tar xzvC /out/bin && \
echo "- bin/slirp4netns: [GNU GENERAL PUBLIC LICENSE, Version 2](https://github.com/rootless-containers/slirp4netns/blob/v${SLIRP4NETNS_VERSION}/COPYING)" >> /out/share/doc/nerdctl-full/README.md && \
88
95
echo "- bin/fuse-overlayfs: [GNU GENERAL PUBLIC LICENSE, Version 3](https://github.com/containers/fuse-overlayfs/blob/v${FUSE_OVERLAYFS_VERSION}/COPYING)" >> /out/share/doc/nerdctl-full/README.md && \
89
-
echo "- Other files: [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)" >> /out/share/doc/nerdctl-full/README.md
90
-
RUN (cd /out && find ! -type d | sort | xargs sha256sum > /tmp/SHA256SUMS ) && \
@@ -69,19 +73,25 @@ docker run -it --rm --privileged nerdctl
69
73
70
74
The goal of `nerdctl` is to facilitate experimenting the cutting-edge features of containerd that are not present in Docker.
71
75
72
-
Such features includes, but not limited to, [lazy-pulling](./docs/stargz.md) and [encryption of images](https://github.com/containerd/imgcrypt).
76
+
Such features includes, but not limited to, [lazy-pulling](./docs/stargz.md) and [encryption of images](./docs/ocicrypt.md).
73
77
74
78
Note that competing with Docker is _not_ the goal of `nerdctl`. Those cutting-edge features are expected to be eventually available in Docker as well.
75
79
76
80
Also, `nerdctl` might be potentially useful for debugging Kubernetes clusters, but it is not the primary goal.
77
81
78
82
## Features present in `nerdctl` but not present in Docker
83
+
Major:
84
+
-[Lazy-pulling using Stargz Snapshotter](./docs/stargz.md): `nerdctl --snapshotter=stargz run` .
85
+
-[Running encrypted images using ocicrypt (imgcrypt)](./docs/ocicrypt.md)
86
+
87
+
Minor:
79
88
- Namespacing: `nerdctl --namespace=<NS> ps` .
80
89
(NOTE: All Kubernetes containers are in the `k8s.io` containerd namespace regardless to Kubernetes namespaces)
81
-
-[Lazy-pulling using Stargz Snapshotter](./docs/stargz.md): `nerdctl --snapshotter=stargz run` .
0 commit comments