File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
98982. 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
1041043. 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
You can’t perform that action at this time.
0 commit comments