Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo apt-get update
- $ sudo apt-get install \
- apt-transport-https \
- ca-certificates \
- curl \
- gnupg2 \
- software-properties-common
- $ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
- Verify that the key ID is 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88.
- $ sudo apt-key fingerprint 0EBFCD88
- sub-command below returns the name of your Debian distribution, such as jessie.
- $ lsb_release -cs
- $ sudo add-apt-repository \
- "deb [arch=amd64] https://download.docker.com/linux/debian \
- $(lsb_release -cs) \
- stable"
- $ sudo apt-get update
- $ sudo apt-get install docker-ce
- Verify that Docker CE is installed correctly by running the hello-world image.
- $ sudo docker run hello-world
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement