BOOT2DOCKER
Lightweight Linux for Docker
Steeve Morin
@steeve
Slide 2
Slide 2 text
HI
• @steeve
• always for hire
• -ista
• wingsuiter (because fuck yeah)
Slide 3
Slide 3 text
–Steeve Morin
“When you think about it, the host system is
redundant to the Docker image… Right?”
Slide 4
Slide 4 text
TINY CORE LINUX
• 9mb ISO (!)
• Runs from RAM
• Boots in 3s
• v4.7 at the time
• Binary repository
• Pretty big community
Slide 5
Slide 5 text
DOCKER ON TCL
• First try, July 2013
• Linux Kernel 3.0 x86 without AUFS?
• Custom Linux 3.10 with AUFS
• Missing critical packages?
• Cross compilation FTW
• docker version works!!!
Slide 6
Slide 6 text
DOCKER ON TCL
$ docker run -i -t busybox /bin/sh
lxc-start: Invalid argument - pivot_root syscall failed
Slide 7
Slide 7 text
DOCKER ON TCL: PART DEUX
• December 3rd, 2013
• Docker Global Hack Day
• Better custom Kernel
• 3.10/AUFS/CGROUPS…
• Custom LXC patch
Slide 8
Slide 8 text
DOCKER ON TCL
$ docker run -i -t busybox /bin/sh
#/
Slide 9
Slide 9 text
• Based on Tiny Core Linux 5.1
• 27mb ISO, boots in 5-10s
• Runs from RAM, read-only
• updates are easy
• Disk persistance
• Built with Docker
• Yes, boot2docker builds with boot2docker
Slide 10
Slide 10 text
$ brew install boot2docker
$ boot2docker init
$ boot2docker up
$ export DOCKER_HOST=localhost
$ docker run -i -t busybox sh
#/
boot2docker + Docker OSX client = <3
Slide 11
Slide 11 text
TRACTION
Slide 12
Slide 12 text
AWESOME CONTRIBUTORS
Andreas Heissenberger
@aheissenberger
Austria
Sven Dowideit
@SvenDowideit
Australia