Update container-runtimes.md

--keyring option to apt-key must come before the "add" command. Otherwise this step will fail (verified on Ubuntu 20.04.1 LTS).
pull/24776/head
clearbjli 2020-10-27 13:11:00 +01:00 committed by Michael Hofer
parent 0b959e55c1
commit 587f6cee63
No known key found for this signature in database
GPG Key ID: 884126543B287D80
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificat
```shell
## Add Docker's official GPG key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add --keyring /etc/apt/trusted.gpg.d/docker.gpg -
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key --keyring /etc/apt/trusted.gpg.d/docker.gpg add -
```
```shell