mirror of https://github.com/docker/docs.git
engine/install/ubuntu: update instructions to match debian variant
Incorporate the changes made in the debian variant from; -6d8b08171c
-37ae672193
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
6d8b08171c
commit
b109743ad2
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue