← All courses

Containers from the inside: namespaces and cgroups

You'll understand what a container is made of: you'll assemble namespaces and cgroups by hand, find a container's limits in the kernel and fix a service you can't reach with docker exec.

12 tasks · 1 question
  1. A container is just a processeasy
  2. Isolation of your own in one commandeasy
  3. The limit Docker setseasy
  4. A hostname of its own for the test bencheasy
  5. The nightly export as PID 1medium
  6. An isolated network to test a clientmedium
  7. A container without a shell: nsenter instead of docker execmedium
  8. A report that eats memory: memory.maxmedium
  9. The index rebuild on short rations: cpu.maxmedium
  10. Docker from the inside: where a container's limits livemedium
  11. Thumbnails are slow, but no limits in sightmedium
  12. A container without Docker: unshare, chroot and a cgrouphard
  13. Container or virtual machineinterview questionmedium