curl -sSL https://get.docker.com | sh
Allow user pi
to access docker daemon:
sudo usermod -aG docker pi
sudo apt install -y python python-pip
pip install docker-compose
To install docker-machine on the pi:
To provision a pi with docker-machine
change the OS's ID so Docker Machine won't throw errors.
change the line that says ID=raspbian
to ID=debian
in the file /etc/os-release
.