Wednesday
Room 1
11:40 - 12:40
(UTC+01)
Talk (60 min)
Linux containers in (less than) 100 lines of shell - Part II
Using just shell commands, can we create a "decent" container–something like the degree of isolation provided by a Docker container If we work at it, we can come reasonably close.
Furthermore, we can do it using less than 100 lines of shell commands. Along the way we can learn quite a bit about the nature of a container and the Linux kernel mechanisms used to implement containers.
In this presentation, I’ll show how to use a few standard shell commands, plus the ever useful Busybox tool, to create a simple container. That container will have a root filesystem, employ Linux namespaces to provide isolation, and have an associated control group (cgroup) that allows us to limit the resources that the processes in the container can consume. Our container will have a superuser, and we’ll consider what it means to be superuser inside a container while at the same time being unprivileged outside the container.