diff --git a/engine/install/ubuntu.md b/engine/install/ubuntu.md index 77a09a0868..86690bcdf7 100644 --- a/engine/install/ubuntu.md +++ b/engine/install/ubuntu.md @@ -98,7 +98,7 @@ from the repository. 2. Add Docker's official GPG key: ```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