curl -sSL https://get.docker.com | shAllow user pi to access docker daemon:
sudo usermod -aG docker pisudo apt install -y python python-pip
pip install docker-composeTo 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.