2014-12-15

docker -- boot2docker


                           
boot2docker

boot2docker is a lightweight Linux distribution based on Tiny Core Linux made specifically to run Docker containers. It runs completely from RAM, weighs ~27MB and boots in ~5s (YMMV).
See Frequently asked questions for more details.

Features

  • Kernel 3.16.7 with AUFS, Docker 1.3.2
  • Container persistence via disk automount on /var/lib/docker
  • SSH keys persistence via disk automount
  • Host-only network for easy access to ports mapped by Docker

boot2docker.iso

root@boot2docker:~# uname -a
Linux boot2docker 3.16.7-tinycore64 #1 SMP Thu Nov 20 00:06:13 UTC 2014 x86_64 GNU/Linux

root@boot2docker:~# dmesg | grep gcc
Linux version 3.16.7-tinycore64 (root@064f0e1ce709) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Thu Nov 20 00:06:13 UTC 2014

root@boot2docker:~# docker version
Client version: 1.3.2
Client API version: 1.15
Go version (client): go1.3.3
Git commit (client): 39fa2fa
OS/Arch (client): linux/amd64
Server version: 1.3.2
Server API version: 1.15
Go version (server): go1.3.3
Git commit (server): 39fa2fa

root@boot2docker:~# docker info
Containers: 0
Images: 0
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Dirs: 0
Execution Driver: native-0.2
Kernel Version: 3.16.7-tinycore64
Operating System: Boot2Docker 1.3.2 (TCL 5.4); master : 495c19a - Mon Nov 24 20:40:58 UTC 2014
Debug mode (server): true
Debug mode (client): false
Fds: 10
Goroutines: 11
EventsListeners: 0
Init Path: /usr/local/bin/docker
root@boot2docker:~#