Page 1
DockerPlease contain your excitement
DockerPlease contain your excitement
John [email protected]
@johnleach
Brightbox Cloudwww.brightbox.com
Page 5
VirtualisationVirtualisation
Page 7
Linux NamespacesLinux Namespaces
Page 8
unshare commandunshare command
Page 9
Mount NamespaceMount Namespace
Page 10
Network NamespaceNetwork Namespace
Page 11
Process NamespaceProcess Namespace
Page 12
UTS NamespaceUTS Namespace
Page 13
User NamespaceUser Namespace
Page 14
IPC NamespaceIPC Namespace
Page 16
Namepaces + cgroupsNamepaces + cgroups
How can we bring this all together?
Page 17
LXC – Linux ContainersLXC – Linux Containers
Page 18
Docker vs. LXCDocker vs. LXC
What makes Docker different?
Page 20
Docker imagesDocker images
Page 21
Docker Images: Layers Docker Images: Layers
511136ea3c5a
f3c84ac3a053
a1a958a24818
9fec74352904
d0955f21bf24
Container layer (a65ee08f6)
overlayfs
Hard linked together
Page 22
Container layersContainer layers
Page 23
docker commitdocker commit
Page 24
docker commitdocker commit
Page 25
docker savedocker save
Page 26
DockerfileDockerfile
FROM ubuntu
RUN apt-get update -qqy
RUN apt-get install -qqy cowsay
ENV MESSAGE “nothing to say”
CMD sh -c "/usr/games/cowsay $MESSAGE"
Page 29
docker pushdocker push
Page 30
docker pulldocker pull
Page 31
mysql imagemysql image
Page 32
NetworkingNetworking
Page 33
Service discoveryService discovery
Page 34
Persistent storage with VolumesPersistent storage with Volumes
Page 35
The unit of deploymentThe unit of deployment
Page 36
The Future of DockerThe Future of Docker
Page 37
DockerPlease contain your excitement
DockerPlease contain your excitement
John [email protected]
@johnleach
Brightbox Cloudwww.brightbox.com