Skip to content

Commit 11c3fb6

Browse files
authored
Incorporating MichaIng's suggestions
Reference: #11990 (comment)
1 parent 40f5410 commit 11c3fb6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

engine/install/ubuntu.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ from the repository.
9292
apt-transport-https \
9393
ca-certificates \
9494
curl \
95-
gnupg-agent
95+
gnupg
9696
```
9797

9898
2. Add Docker's official GPG key:
9999
100100
```bash
101-
$ curl -fsSL {{ download-url-base }}/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/docker-ce-archive-keyring.gpg > /dev/null
101+
$ curl -fsSL {{ download-url-base }}/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
102102
```
103103
104104
3. Use the following command to set up the **stable** repository. To add the
@@ -122,7 +122,7 @@ from the repository.
122122
123123
```bash
124124
$ echo \
125-
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-ce-archive-keyring.gpg] {{ download-url-base }} \
125+
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
126126
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker-ce.list > /dev/null
127127
```
128128
@@ -131,7 +131,7 @@ from the repository.
131131
132132
```bash
133133
$ echo \
134-
"deb [arch=armhf signed-by=/usr/share/keyrings/docker-ce-archive-keyring.gpg] {{ download-url-base }} \
134+
"deb [arch=armhf signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
135135
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker-ce.list > /dev/null
136136
```
137137
@@ -140,7 +140,7 @@ from the repository.
140140
141141
```bash
142142
$ echo \
143-
"deb [arch=arm64 signed-by=/usr/share/keyrings/docker-ce-archive-keyring.gpg] {{ download-url-base }} \
143+
"deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] {{ download-url-base }} \
144144
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker-ce.list > /dev/null
145145
```
146146

0 commit comments

Comments
 (0)