DockerPlease contain your excitement
DockerPlease contain your excitement
John [email protected]
@johnleach
Brightbox Cloudwww.brightbox.com
VirtualisationVirtualisation
Linux NamespacesLinux Namespaces
unshare commandunshare command
Mount NamespaceMount Namespace
Network NamespaceNetwork Namespace
Process NamespaceProcess Namespace
UTS NamespaceUTS Namespace
User NamespaceUser Namespace
IPC NamespaceIPC Namespace
Namepaces + cgroupsNamepaces + cgroups
How can we bring this all together?
LXC – Linux ContainersLXC – Linux Containers
Docker vs. LXCDocker vs. LXC
What makes Docker different?
Docker imagesDocker images
Docker Images: Layers Docker Images: Layers
511136ea3c5a
f3c84ac3a053
a1a958a24818
9fec74352904
d0955f21bf24
Container layer (a65ee08f6)
overlayfs
Hard linked together
Container layersContainer layers
docker commitdocker commit
docker commitdocker commit
docker savedocker save
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"
docker pushdocker push
docker pulldocker pull
mysql imagemysql image
NetworkingNetworking
Service discoveryService discovery
Persistent storage with VolumesPersistent storage with Volumes
The unit of deploymentThe unit of deployment
The Future of DockerThe Future of Docker
DockerPlease contain your excitement
DockerPlease contain your excitement
John [email protected]
@johnleach
Brightbox Cloudwww.brightbox.com