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
Nerdctl is an open-source command-line interface (CLI) designed to be compatible with the popular Docker CLI, but specifically for interacting with [containerd](https://containerd.io/). It provides a familiar user experience for developers operators who are familiar with Docker, while leveraging the capabilities of containerd as the underlying container runtime.
28
+
[Nerdctl](https://github.com/containerd/nerdctl) is an open-source command-line interface (CLI) designed to be compatible with the Docker CLI, but specifically for interacting with [containerd](https://containerd.io/). It provides a familiar user experience for developers who are familiar with Docker, while leveraging the capabilities of containerd as the underlying container runtime.
29
29
30
-
Using containerd and nerdctl provides similar functionality to Docker but with a smaller memory and CPU footprint, making it ideal for IoT or edge solutions, especially on Arm devices which balance energy efficiency and performance. Nerdctl also supports running containers in a rootless mode, enhancing security by not requiring elevated privileges.
30
+
Using containerd and nerdctl provides similar functionality to Docker but with a smaller memory footprint, making it ideal for IoT and edge solutions, especially on Arm devices that balance energy efficiency and performance.
31
31
32
-
This guide focuses on installing containerd and Nerdctl on Arm Linux.
32
+
Nerdctl also supports running containers in rootless mode, which helps enhance security by not requiring elevated privileges. Rootless mode is not covered below but you can refer to the [documentation](https://rootlesscontaine.rs/getting-started/containerd/) for information about how to run `containerd-rootless-setuptool.sh install`.
33
+
34
+
This guide explains how to install and use containerd and nerdctl on Arm Linux and run with `sudo`
33
35
34
36
## Before you begin
35
37
36
-
This guide assumes you are using Ubuntu 22.04 or later on an Arm-based system (like a Raspberry Pi or an Arm instance in the cloud).
38
+
This guide assumes you are using a Debian-based Arm Linux distribution, including Ubuntu and Raspberry Pi OS. You can use a local Arm Linux computer or an Arm instance in the cloud.
37
39
38
40
Confirm you are using an Arm machine by running:
39
41
@@ -47,7 +49,7 @@ The output should be:
47
49
aarch64
48
50
```
49
51
50
-
Ensure `wget` and `tar` are installed:
52
+
Ensure `wget` and `tar` are installed. Most distributions will include them, but if not run:
51
53
52
54
```bash
53
55
sudo apt-get update
@@ -59,8 +61,7 @@ sudo apt-get install -y wget tar
The commands above attempt to fetch the latest versions automatically. You can replace `${NERDCTL_VERSION}` and `${CNI_VERSION}` with specific versions if required.*
101
-
{{% /notice %}
121
+
The commands above attempt to fetch the latest versions automatically. If required, you can replace `${NERDCTL_VERSION}` and `${CNI_VERSION}` with specific versions.
122
+
{{% /notice %}}
123
+
124
+
## Install BuildKit
125
+
126
+
If you want to build container images with nerdctl, you need to install [BuildKit](https://github.com/moby/buildkit).
127
+
128
+
If you only need to run container images you can skip this step.
0 commit comments