Hypriot-Demo and challenge at DockerCon 2015
Wed, Jun 24, 2015Hypriot had a short demo session (16:45 - 17:15 PDT) on the second day of the DockerCon 2015 in San Francisco,CA (USA). The goal of the demo was to show that Docker is a really lightweight “virtualization” solution that can be easily run on small IoT devices.
DockerCon2015 - Scale down to the minimum from hypriot on Vimeo.
As preparation for this demo we only had to make some small tweaks to Docker and its environment. These changes allowed us to start up hundreds of containers on a Raspberry Pi in just a couple of minutes. How awesome is that? If that is possible on a small device imagine how Docker runs on a big server… :)
The Hypriot-DockerCon-Challenge
Even with this jaw-dropping result we think there is room for improvement. That is why we challenge you to help us to improve the performance even more and remove remaining roadblocks!
Prize:
The person who successfully manage to get the highest number of these Docker containers to run concurrently on a Raspberry Pi 2 will be awarded a DockerCon Europe ticket and a speaking / demo slot during the conference.
Rules:
- Use a single Raspberry Pi 2 with a HypriotOS release (a Raspi 1 would work too, but you’ll have a big disadvantage with 512MByte only)
- Use Docker Engine to start the containers (see technical hint #3 below)
- Use the webserver container “hypriot/rpi-busybox-httpd” as a starting point – you can use whatever webserver you like, but you have to serve the static website with the same index.html + .jpg
- Challenge ends on Monday, October 19th, 2015 at 17:00 PDT – winner will be announced on Tuesday, October 20th
Technical Hints:
- Reduce the stack size used for starting Docker subprocesses (see /etc/init.d/docker)
- Optimize the httpd container in order to use less memory
- Optimize the Docker daemon itself (Participants must submit any changes made to docker engine with appropriate tests back to the docker project or must be independently reproducible with the stock docker engine release.) Optimizations must be general optimizations, useful outside of the scope of this specific benchmark.
- Ask Hypriot for help, they’ll offer new hints and tips publicly through comments on the blog and Twitter
To get you started for this challenge we prepared a couple of links for you:
- Getting started with our Docker Hypriot SD-card image on Raspberry Pi
- Raspberry Pi Docker Image for HTTPd
- Start-Script for running lots of containers on the Raspberry Pi
Hope we did wet your appetite. Happy hacking and have fun!
As always use the comments below to give us feedback and share it on Twitter or Facebook.
comments powered by Disqus