We need to have docker installed!
(Do NOT install docker.io)
https://docs.docker.com/engine/installation/linux/ubuntu/
Install packages to allow apt to use a repository over HTTPS:
$ sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
(Nothing new installed)
$ curl -fsSL https://apt.dockerproject.org/gpg | sudo apt-key add -
$ sudo apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D
$ sudo add-apt-repository \
"deb https://apt.dockerproject.org/repo/ \
ubuntu-$(lsb_release -cs) \
main"
New repository is added to
$ more /etc/apt/sources.list
Update sources and install docker-engine
$ sudo apt-get update
$ sudo apt-get -y install docker-engine
Verify
docker -v
Docker version 17.03.0-ce, build 60ccb22