mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
Merge pull request #16681 from thaJeztah/sync_ubuntu
engine/install/ubuntu: update instructions to match debian variant
This commit is contained in:
@@ -95,7 +95,7 @@ Docker from the repository.
|
||||
2. Add Docker's official GPG key:
|
||||
|
||||
```console
|
||||
$ sudo mkdir -p /etc/apt/keyrings
|
||||
$ sudo mkdir -m 0755 -p /etc/apt/keyrings
|
||||
$ curl -fsSL {{ download-url-base }}/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
```
|
||||
|
||||
@@ -232,6 +232,7 @@ download a new file each time you want to upgrade Docker Engine.
|
||||
`hello-world` image:
|
||||
|
||||
```console
|
||||
$ sudo service docker start
|
||||
$ sudo docker run hello-world
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user