Skip to content

Commit 7f90f35

Browse files
author
lerndevops
authored
Update Install-Docker-manual.txt
1 parent 5be1a46 commit 7f90f35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/install/Install-Docker-manual.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
Install Docker on Ubuntu:
22

3+
sudo su -
34
sudo apt-get remove docker docker-engine docker.io containerd runc
45
sudo apt-get update
56
sudo apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
6-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
7+
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
78
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
89
sudo apt-get update
910
sudo apt-get install -y docker-ce docker-ce-cli containerd.io

0 commit comments

Comments
 (0)