Lightweight VM
● Own process space
● Own network interface
● Can run stuff as root
● Can have its own /sbin/init
“machine container”
Slide 26
Slide 26 text
Lightweight VM
● Own process space
● Own network interface
● Can run stuff as root
● Can have its own /sbin/init
“machine container”
● Not having its own /sbin/init
● Isolated processes
● Share kernel with the host
“application container”
Chroot on steroids
Slide 27
Slide 27 text
VM vs Container
Slide 28
Slide 28 text
$ ps aux | wc -l
174
$ docker run -it ubuntu bash
root@86f8213d57e0:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START
TIME COMMAND
root 1 4.0 0.0 18152 1856 ? Ss 23:05 0:00 bash
root 9 0.0 0.0 15568 1148 ? R+ 23:05 0:00 ps aux