diff --git a/engine/install/ubuntu.md b/engine/install/ubuntu.md index d6f4b5f0dacf..247e3ff774a5 100644 --- a/engine/install/ubuntu.md +++ b/engine/install/ubuntu.md @@ -98,9 +98,16 @@ from the repository. 2. Add Docker's official GPG key: + For Ubuntu 20.04 and newer: + ```bash + $ curl -fsSL {{ download-url-base }}/gpg | sudo cat > /etc/apt/trusted.gpg.d/docker.asc + ``` + + For older versions of Ubuntu: ```bash $ curl -fsSL {{ download-url-base }}/gpg | sudo apt-key add - ``` + Verify that you now have the key with the fingerprint 9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88, by searching for the