In this lab we focus on the underlying technologies: namespaces, cgroups, and COW filesystems.
Note that the following requires Linux, that is either natively or a VM running Linux.
We will use cinf to explore namespaces and cgroups.
$ curl -s -L https://github.com/mhausenblas/cinf/releases/download/v0.4.0-alpha/cinf -o cinf
$ sudo mv cinf /usr/local/bin
$ sudo chmod +x /usr/local/bin/cinf
$ sudo cinf
Either follow this walkthrough or launch your own favourite containers and explore the underlying namespaces and cgroups.
$ docker run -d nginx:1.9
$ docker ps
$ docker export -o nginx-content.tar ${CONTAINER_ID}
$ mkdir explore-image && mv nginx-content.tar explore-image/ && cd explore-image/
$ tar -xvf nginx-content.tar