-
Notifications
You must be signed in to change notification settings - Fork 0
Install Docker
khoanase62625 edited this page Jul 7, 2019
·
1 revision
1. Get all necessary tools
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
2. Add Docker’s official GPG key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
3. Vertify fingerprint
Docker fingerprint: 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
sudo apt-key fingerprint 0EBFCD88
4. Setup Docker's stable repository
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
5. Install Docker-ce
sudo apt update
sudo apt install docker-ce
Note: if you want older version of docker, use this command instead `sudo apt-get install docker-ce=
6. Vertify Docker install
sudo docker run hello-world