File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed
content/en/docs/setup/production-environment Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,44 @@ sudo mkdir -p /etc/containerd
143
143
sudo containerd config default | sudo tee /etc/containerd/config.toml
144
144
```
145
145
146
+ ``` shell
147
+ # Restart containerd
148
+ sudo systemctl restart containerd
149
+ ```
150
+ {{% /tab %}}
151
+ {{% tab name="Debian 9+" %}}
152
+
153
+ ``` shell
154
+ # (Install containerd)
155
+ # # Set up the repository
156
+ # ## Install packages to allow apt to use a repository over HTTPS
157
+ sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
158
+ ```
159
+
160
+ ``` shell
161
+ # # Add Docker's official GPG key
162
+ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key --keyring /etc/apt/trusted.gpg.d/docker.gpg add -
163
+ ```
164
+
165
+ ``` shell
166
+ # # Add Docker apt repository.
167
+ sudo add-apt-repository \
168
+ " deb [arch=amd64] https://download.docker.com/linux/debian \
169
+ $( lsb_release -cs) \
170
+ stable"
171
+ ```
172
+
173
+ ``` shell
174
+ # # Install containerd
175
+ sudo apt-get update && sudo apt-get install -y containerd.io
176
+ ```
177
+
178
+ ``` shell
179
+ # Set default containerd configuration
180
+ sudo mkdir -p /etc/containerd
181
+ containerd config default | sudo tee /etc/containerd/config.toml
182
+ ```
183
+
146
184
``` shell
147
185
# Restart containerd
148
186
sudo systemctl restart containerd
@@ -523,4 +561,3 @@ sudo systemctl enable docker
523
561
524
562
Refer to the [ official Docker installation guides] ( https://docs.docker.com/engine/installation/ )
525
563
for more information.
526
-
You can’t perform that action at this time.
0 commit comments