Docker on Raspberry Pi
resin.io
resin.io
Docker still has some bugs though. I hope they'll fix them quickly.
Install Arch Linux? Resize the root partition? Patch and build the kernel? Bootstrap and rebuild Docker?
I'm all for an easier Internet of things, but this ain't it (yet).
If nothing else, make sure there is still a dockerfile (for parts where direct access to hardware are not needed, like you would never write a dockerfile that resized the OS partition since that happens outside) and always current up-to-date manual instructions! Thanks for the great work!
I am looking forward to CoreOS on RPI, if that's planned to be a thing! It would be a good reason to buy a bigger SD card, for me.
Of course a higher priority should be cleaning up the process in this article, making the install simpler, getting precompiled kernels/images out there, getting it to work with Raspbian host.
As a side note, getting this working on Raspbian should be feasible (consider it an exercise for the reader), we just used Arch as we've focused on that for a bunch of other things.
Isn't more expensive to run docker upon Linux and deploy your applications instead of installing the applications and it's dependencies directly on the Pi?
How is this going to work on underpowered machines such as the RPi?
Is it for applications that require a very small amount of memory? (say you can run 5 applications that consume 80 MB each?).
Maybe I erroneously tie-up Docker with web-development and web-based applications, but can you give an couple of example applications that could benefit from docker on the Pi?
thanks
The point of docker is allowing you to deploy your images, or more adequately put Dockerfiles on anywhere. So, when you have a Rpi cluster, you would worry less about deployment.
ps. You're Greek?
Jérôme Petazzoni (employee of Docker, formerly dotcloud) has created an excellent (I'd say essential) tool for dealing with networks under Docker called Pipework (https://github.com/jpetazzo/pipework) which is definitely worth a look if you're looking to network containers together.
The command for me was: sudo dd if=$RPIDIR/archlinux-hf-2013-07-22.img of=/dev/disk1 bs=4m
It also took about 20 minutes to write.
I'm keeping a log of what I try to see if I can make things faster / better.
Decided to go with an Arch Vagrant box (Specifically Arch Linux x86_64 (2013-08) from http://www.vagrantbox.es/). Running into issues with make in Step 5:
drivers/thermal/bcm2835-thermal.c:21:23: fatal error: mach/vcio.h: No such file or directory
Has anyone here run into this issue?
Anyone have any ideas?
However, I think there are better ARM targets for Docker, but for publicity and to get the ball rolling - you can't go past the Pi.
(edited for unintentional pun.)