mirror of https://github.com/docker/docs.git
Merge pull request #12422 from thaJeztah/missing_sudo
engine: add missing sudo in ubuntu instructions
This commit is contained in:
commit
dc74658c50
|
|
@ -98,7 +98,7 @@ from the repository.
|
||||||
2. Add Docker's official GPG key:
|
2. Add Docker's official GPG key:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ curl -fsSL {{ download-url-base }}/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
$ curl -fsSL {{ download-url-base }}/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Use the following command to set up the **stable** repository. To add the
|
3. Use the following command to set up the **stable** repository. To add the
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue