Skip to content

Commit d10ad92

Browse files
authored
Merge pull request #26093 from bart0sh/PR0003-run-containerd-config-without-sudo
get rid of running 'containerd config default' with sudo
2 parents fc663b4 + 237a449 commit d10ad92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/en/docs/setup/production-environment/container-runtimes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ sudo apt-get update && sudo apt-get install -y containerd.io
122122
```shell
123123
# Configure containerd
124124
sudo mkdir -p /etc/containerd
125-
sudo containerd config default | sudo tee /etc/containerd/config.toml
125+
containerd config default | sudo tee /etc/containerd/config.toml
126126
```
127127

128128
```shell
@@ -140,7 +140,7 @@ sudo apt-get update && sudo apt-get install -y containerd
140140
```shell
141141
# Configure containerd
142142
sudo mkdir -p /etc/containerd
143-
sudo containerd config default | sudo tee /etc/containerd/config.toml
143+
containerd config default | sudo tee /etc/containerd/config.toml
144144
```
145145

146146
```shell
@@ -210,7 +210,7 @@ sudo yum update -y && sudo yum install -y containerd.io
210210
```shell
211211
## Configure containerd
212212
sudo mkdir -p /etc/containerd
213-
sudo containerd config default | sudo tee /etc/containerd/config.toml
213+
containerd config default | sudo tee /etc/containerd/config.toml
214214
```
215215

216216
```shell

0 commit comments

Comments
 (0)