# Notes on Docker for Raspberry Pi

- Link: https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/
- Published: 2016-05-19T07:26:19-07:00
- Author: rich

As Duncan says, I don’t get out much 🙂 so here is another post in that series. 
In this case getting Docker to run on Raspberry Pis with the latest [Hypriot](http://hypriot.com)
releases. The guys over there are doing amazing work getting this to work and are
right now on their 0.5 release. There isn’t any updated documentation yet, but here
are the tips, tricks and traps:

 1. Pull the build from their image-builder [release](https://github.com/hypriot/image-builder-rpi/releases).
    The current version 0.5.14 works with generic docker-machine, Raspberry Pi 1 or
    3, uses the onboard wifi. Pretty cool stuff. But it is not obvious where to find
    it.
 2. Use their [flash](https://github.com/hypriot/flash) utility to blow this onto an
    SD card. You can actually always manually download and flash your self, but it 
    is convenient to utter `flash –hostname _your-new-pi_ –ssid _your wifi network_–
    password  _your-secret-password_ [https://github.com/hypriot/image-builder-rpi/releases/download/v0.5.15/sd-card-rpi-v0.5.15.img.zip](https://github.com/hypriot/image-builder-rpi/releases/download/v0.5.15/sd-card-rpi-v0.5.15.img.zip)`
 3. Ok there is a post installation set of things that you need to do. First if you
    ever booted up on the ethernet port first rather than wifi, then the `ip route`
    is wrong and it will always go to eth0 for everything, so you need to `ip route
    replace default via dev wlan0` so that it can find the internet. Also your local
    network address will also default to going to eth0, so you need to `ip route delete
    _your_local_network_ dev eth0` so that it routes via the wlan0
 4. When you can add this to the swarm then with a generic `docker-machine create -
    d generic --generic-ip-address=_the ip address_ --generic-ssh-user=pirate` Note
    they do not use pi as their standard, but pirate with default password hypriot.
    So you need to `ssh-copy-id` your keys there first.

### Share this:

 * [  Mastodon ](https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/?subject=%5BShared%20Post%5D%20Notes%20on%20Docker%20for%20Raspberry%20Pi&body=https%3A%2F%2Ftongfamily.com%2F2016%2F05%2F19%2Fnotes-on-docker-for-raspberry-pi%2F&share=email)
 * [More](https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/#)

 * [  Telegram ](https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/?share=telegram)
 * [  Print ](https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/?share=tumblr)
 * [  X ](https://tongfamily.com/2016/05/19/notes-on-docker-for-raspberry-pi/?share=twitter)

### Like this:

Like Loading…
