Skip to content

Instantly share code, notes, and snippets.

@bjuretko
Created June 3, 2018 12:28
Show Gist options
  • Save bjuretko/5ec8b7d1f9466968af82d51110988348 to your computer and use it in GitHub Desktop.
Save bjuretko/5ec8b7d1f9466968af82d51110988348 to your computer and use it in GitHub Desktop.
Docker on Raspberry Pi

Install Docker Engine

curl -sSL https://get.docker.com | sh

Allow user pi to access docker daemon:

sudo usermod -aG docker pi

Install docker-compose

sudo apt install -y python python-pip
pip install docker-compose

Install docker-machine

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment