Adam Herzog

Raspberry Pi DockerCon Challenge: We Have a Winner!

At the end of DockerCon 2015, Dieter Reuter from Hypriot presented a demo running 500 Docker containers on a Raspberry Pi 2 device but he knew that number could be at least doubled.

TL;DR Dieter was right.

 

A big congratulations to Damien Duportal, Nicolas de Loof and Yoann Dubreuil on running 2500 web servers in Docker containers on a single Raspberry Pi 2!

Damien, Nicolas and Yoann each win a complimentary pass to DockerCon EU 2015 and speaking slot during the conference to demo how they accomplished this.

 


Nicolas de Loof explains more:

To be honest this 2740 web servers score is not strictly eligible for this challenge. We built a custom Docker daemon with some hack-ish `debug.setMaxThread` to bypass Go 1.4 limitation, which didn’t allow us to run more than 10000 threads for 2500 containers. A valuable fix would require understanding why the daemon needs so many threads (4 per container – maybe using Non Blocking IO multiplexing?). This is definitely not something I can contribute with my “hello-world” level Golang skills 🙂

It was really interesting for us to find such a limit, understand it and get a bit further to discover the next one! Adhering to the challenge rules, we ran 2499 containers. Nobody could run more with the current Docker design, so this opens up an interesting discussion of future Docker improvements!

Regardless, 2500 web servers on a RPi, is such a crazy metric!

We think so too and we’re excited to have all three winners join us at DockerCon EU 2015 to present how they were able to achieve this! Can’t wait for DockerCon EU 2015? Dieter will join Damien and Yoann for an online meetup this Thursday, Oct. 22 to share their hacks.

 

Join us on Thursday at 10:00 PDT/19:00 CEST for Docker Online Meetup #27: Raspberry Pi DockerCon Challenge

During the meetup, the winners will present how they were able to get 2,500 web servers in Docker containers running on a single Raspberry Pi device. There will be time for Q&A at the end.


 

Can you replicate Damien, Nicolas and Yoann’s record?

Check out this update from September when Damien Duportal held the record with 2334 containers on a Raspberry Pi device.

You can also see Dieter’s original demo here:


For more information on how to get started with Docker and Hypriot on Raspberry Pi, check out this short list of resources:

• 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


 

 Learn More about Docker

• New to Docker? Try our 10 min online tutorial
• Share images, automate builds, and more with a free Docker Hub account
• Read the Docker 1.8 Release Notes
• Subscribe to Docker Weekly
• Register for upcoming Docker Online Meetups
• Attend upcoming Docker Meetups
• Register for DockerCon Europe 2015
• Start contributing to Docker

 

, ,

Adam Herzog

Raspberry Pi DockerCon Challenge: We Have a Winner!


4 Responses to “Raspberry Pi DockerCon Challenge: We Have a Winner!”

  1. Docker 1.5 Deprecation, Oracles OpenStack und Raspberry Pi

    […] kam seiner Aufforderung bereitwillig nach. Gestern wurden die Sieger bekannt gegeben. Damien Duportal, Nicolas de Loof und Yoann Dubreuil haben es geschafft, insgesamt 2500 […]

    Reply
  2. De la conteneurisation avec Docker | Blog Arolla

    […] trois points : – Occupation d’espace disque : un conteneur utilise moins d’espace. 2500 conteneurs sur Rasberry Pi. – Temps de lancement : du fait qu’il utilise le Kernel du host le conteneur démarre […]

    Reply
  3. 在Raspberry Pi 2上運行2500個web server | HK Developers 香港開發者

    […] 你在怎樣用你一時衝動買的Rapberry Pi 2呢? 也許你和筆者一樣把它呆在櫃子裏,或者用來做file server / media player,但有些工程師就決定把它的能力推到極限,使用Docker在上面跑上百個container,並向全世界發出挑戰,近日宣布結果,紀錄已達到2500個。 […]

    Reply
  4. 22-11-2015 - Links - Magnus Udbjørg

    […] 2500 website on a Raspberry pi – Raspberry Pi DockerCon Challenge: We Have a Winner! […]

    Reply

Leave a Reply to 在Raspberry Pi 2上運行2500個web server | HK Developers 香港開發者

Click here to cancel reply.

Get the Latest Docker News by Email

Docker Weekly is a newsletter with the latest content on Docker and the agenda for the upcoming weeks.