Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jmshal/a9259f542d498cc2a96d8bcc73e1e373 to your computer and use it in GitHub Desktop.
Save jmshal/a9259f542d498cc2a96d8bcc73e1e373 to your computer and use it in GitHub Desktop.

Revisions

  1. @calebbrewer calebbrewer renamed this gist Aug 10, 2017. 1 changed file with 0 additions and 0 deletions.
  2. @calebbrewer calebbrewer created this gist Aug 10, 2017.
    5 changes: 5 additions & 0 deletions Setting up Docker Machine on Raspberry PI
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #Setting up Docker Machine on Raspberry PI

    1. SSH into the pi and install docker with `curl -sSL https://get.docker.com | sh` (If we let Machine try to install the Docker daemon it will fail.)
    2. Change the OS's ID so Docker Machine won't throw errors. `sudo nano /etc/os-release` and change the line that says `ID=raspbian` to `ID=debian`
    3. From a new terminal window run `docker-machine create --driver generic --generic-ip-address YOUR-PIS-IP --generic-ssh-key ~/.ssh/id_rsa --generic-ssh-user pi --engine-storage-driver overlay2 MACHINE-NAME`