Slide 21
Slide 21 text
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Mount namespace
• Used for giving containers
their own filesystem
• Container image is mounted
as the root filesystem
• More about filesystems to
come!
bash-4.2# mount
overlay on / type overlay
(rw,relatime,lowerdir=/var/lib/docker/overl
ay2/l/Q5EBZ7CIJYELLG2MBKZIRRFWW6:/var/lib/d
ocker/overlay2/l/PKATP76T57BQZ5D44JXYFIB26E
,upperdir=/var/lib/docker/overlay2/88816f95
10a9ff38b31eaaceccbef6ffc9cc3c06bcc451f9684
850db5ee1b152/diff,workdir=/var/lib/docker/
overlay2/88816f9510a9ff38b31eaaceccbef6ffc9
cc3c06bcc451f9684850db5ee1b152/work)
proc on /proc type proc
(rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev type tmpfs
(rw,nosuid,size=65536k,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,gid=5,mode=620,p
tmxmode=666)
sysfs on /sys type sysfs
(ro,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs
(ro,nosuid,nodev,noexec,relatime,mode=755)