Upload
johnnnl
View
75
Download
1
Tags:
Embed Size (px)
Citation preview
DockerPlease contain your
excitement
DockerPlease contain your
excitementJohn Leach
[email protected]@johnleach
Brightboxwww.brightbox.com
VirtualisationVirtualisation
Host hardware
Host kernel
Virtual machine process
Virtual hardware
Virtual machine kernel
Your application
Physical RAM
process
filesystem
Logical RAM
process process
Logical RAM Logical RAM
network
FS namespace net namespaceFS namespace net namespace FS namespace net namespace
Docker Images: Layers Docker Images: Layers
511136ea3c5a/
f3c84ac3a053/
q1a958a24818/
9fec74352904/
d0955f21bf24/
Container layer a65ee08f6/
Overlay fs
Hard linked together
Process
DockerfileDockerfileFROM 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 Images: Layers Docker Images: Layers
511136ea3c5a/
f3c84ac3a053/
q1a958a24818/
9fec74352904/
d0955f21bf24/
Overlay fs
Hard linked together
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"
DockerPlease contain your
excitement
DockerPlease contain your
excitementJohn Leach
[email protected]@johnleach
Brightboxwww.brightbox.com