Skip to content

Commit 7cbc7f8

Browse files
Merge pull request #1867 from madeline-underwood/nerdctl
nerdctl_JA to sign off
2 parents 1073419 + d726780 commit 7cbc7f8

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

content/install-guides/nerdctl.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ weight: 1
2727

2828
[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.
2929

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.
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.
3131

3232
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`.
3333

34-
This guide explains how to install and use containerd and nerdctl on Arm Linux and run with `sudo`
34+
This guide explains how to install and use `containerd` and `nerdctl` on Arm Linux, and how to run commands with `sudo`.
3535

3636
## Before you begin
3737

@@ -49,7 +49,7 @@ The output should be:
4949
aarch64
5050
```
5151

52-
Ensure `wget` and `tar` are installed. Most distributions will include them, but if not run:
52+
Ensure `wget` and `tar` are installed. Most distributions will include them, but if not, run:
5353

5454
```bash
5555
sudo apt-get update
@@ -58,13 +58,13 @@ sudo apt-get install -y wget tar
5858

5959
## Install containerd
6060

61-
Install the containerd runtime:
61+
Install the `containerd` runtime:
6262

6363
```bash
6464
sudo apt-get install containerd -y
6565
```
6666

67-
Start and enable the containerd service:
67+
Start and enable the `containerd` service:
6868

6969
```bash
7070
sudo systemctl start containerd
@@ -77,7 +77,7 @@ Confirm the service is running:
7777
systemctl status containerd.service
7878
```
7979

80-
When containerd is running, the output is similar to:
80+
When `containerd` is running, the output is similar to:
8181

8282
```output
8383
● containerd.service - containerd container runtime
@@ -94,7 +94,7 @@ When containerd is running, the output is similar to:
9494

9595
## Install nerdctl and CNI plugins
9696

97-
Install nerdctl and the necessary CNI (Container Network Interface) plugins.
97+
Install `nerdctl` and the necessary CNI (Container Network Interface) plugins:
9898

9999
```bash
100100
NERDCTL_VERSION=$(curl -s https://api.github.com/repos/containerd/nerdctl/releases/latest | grep tag_name | cut -d '"' -f 4 | sed 's/v//')
@@ -123,9 +123,9 @@ The commands above attempt to fetch the latest versions automatically. If requir
123123

124124
## Install BuildKit
125125

126-
If you want to build container images with nerdctl, you need to install [BuildKit](https://github.com/moby/buildkit).
126+
If you want to build container images with `nerdctl`, you need to install [BuildKit](https://github.com/moby/buildkit).
127127

128-
If you only need to run container images you can skip this step.
128+
If you only plan to run container images (not build them), you can skip this step.
129129

130130
```bash
131131
BUILDKIT_VERSION=$(curl -s https://api.github.com/repos/moby/buildkit/releases/latest | grep tag_name | cut -d '"' -f 4 | sed 's/v//')
@@ -195,7 +195,7 @@ jz1h9gb0xq39ob6868cr3ev6r linux/arm64
195195

196196
## Verify the installation
197197

198-
You can check the nerdctl version:
198+
You can check the `nerdctl` version:
199199

200200
```console
201201
sudo nerdctl version
@@ -207,7 +207,7 @@ Test your installation by running a simple container that prints the processor a
207207
sudo nerdctl run --name uname armswdev/uname
208208
```
209209

210-
Wait a few seconds for the container to start. The architecture is printed:
210+
Wait a few seconds for the container to start. It will print the system architecture:
211211

212212
```output
213213
Architecture is aarch64
@@ -219,7 +219,7 @@ Clean up the test container:
219219
sudo nerdctl rm uname
220220
```
221221

222-
To build a container image, use a text editor to copy the lines below to a new file named `Dockerfile`.
222+
To build a container image, save the following lines to a file named `Dockerfile`.
223223

224224
```console
225225
FROM ubuntu:latest
@@ -308,4 +308,4 @@ Execute a command in a running container:
308308
sudo nerdctl exec -it <container_name_or_id> <command>
309309
```
310310

311-
You are now ready to use nerdctl and containerd.
311+
You are now ready to use `nerdctl` and `containerd` to manage containers on Arm Linux.

0 commit comments

Comments
 (0)