Install the Docker Community Edition for your Linux version. Visit https://get.docker.com for the "quick & easy install" script.(17.06.1-ce or higher)
Download the latest .deb or .rpm package from GitHub
Double-click on the package to launch Software Center
Click the "Install" button and enter your password when prompted
docker_py namespacing issue with docker:
sudo apt-get remove python-docker
Ubuntu repo has old version
sudo curl -L https://github.com/docker/compose/releases/download/1.19.0/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose