- Created: 11:02 06/03/2017
- Modified: 11:25 24/09/2018
Commands to Install
Prerequisites
- Updating the Bot
sudo apt-get update
- Adding the GPG key for the official Docker repository to the system
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
- Adding the Docker repository to APT sources
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'
- Updating the Bot again to add the new repos
sudo apt-get update
- Make sure you are about to install from the Docker repo instead of the default Ubuntu 16.04 repo
apt-cache policy docker-engine
- You should see output similar to the follow:
docker-engine:
Installed: (none)
Candidate: 1.11.1-0~xenial
Version table:
1.11.1-0~xenial 500
500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages
1.11.0-0~xenial 500
500 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages
Installing Docker on Ubuntu 16.04
- Install Docker
sudo apt-get install -y docker-engine
- Check status
sudo systemctl status docker
Reference
Further Reading
|