-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
area/engineIssue affects Docker engine/daemonIssue affects Docker engine/daemonlifecycle/lockedlifecycle/stale
Description
File: engine/install/ubuntu.md
When commands in step 2 of "Install using the repository" are copy/pasted the docker.gpg file isn't downloaded. This causes a GPG error on the next step.
Here is the terminal output:
zach@DESKTOP-B1UUGUV:~/projects/npi$ sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpgcurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpgzach@DESKTOP-B1UUGUV:~/projects/npi$ ll
total 8
drwxr-xr-x 2 zach zach 4096 Jan 2 10:38 ./
drwxr-xr-x 4 zach zach 4096 Jan 2 10:38 ../
zach@DESKTOP-B1UUGUV:~/projects/npi$
Notice the lack of newline after the second command, maybe that's related to whatever is causing the issue?
I am on Windows, using WSL, and this problem occurs in powershell, cmd, and ubuntu.exe but NOT Windows Terminal.
Copy/pasting each of the two commands individually fixed the problem for me.
Metadata
Metadata
Assignees
Labels
area/engineIssue affects Docker engine/daemonIssue affects Docker engine/daemonlifecycle/lockedlifecycle/stale