Requirements for building docker images on Ubuntu
sudo apt-get update
sudo apt-get remove docker docker-engine docker.io
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
- Set up docker's apt repository
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo tee /etc/apt/sources.list.d/docker.list <<EOM
deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable
EOM
sudo apt-get update
sudo apt-get install docker-ce
sudo docker run hello-world
sudo apt-get install docker-ce
sudo docker run hello-world
sudo docker login
sudo make push