際際滷

際際滷Share a Scribd company logo
DIY Opinionated Docker
Conair
Less configuration more convention
 Archlinux
 Btrfs
 Systemd
Conair
 systemd-networkd
 systemd-nspawn
Systemd
 systemd-networkd
 bridge: nspawn0 (DHCPServer)
 veths (DHCPClient)
Network
 Subvolumes
 Snapshots
Btrfs
IMAGES=/var/lib/conair/images/base
pacstrap -i -c -d $IMAGES base
Base Image
 Create Veths - Join Bridge
 Boot Container (systemd)
 Name Machine (machinectl)
Nspawn
Setup env: conair init
Docker Verbs: conair attach,
commit, images, ps, rm, rmi, run
Systemd Status: conair status
<container>
Conair
 Fun
 Systemd integration
 Multiple services in containers
but only one process manager
 All CoreOS components in a
container
 Docker, Etcd, Fleet, Systemd
Why?

More Related Content

Conair