Oliver Seitz
Docker exec without Docker
#1about 1 minute
Understanding how the docker exec command really works
The talk explores what happens under the hood when you run `docker exec` and demonstrates how to achieve the same result without using Docker.
#2about 1 minute
Deconstructing the Docker stack to its Linux primitives
Docker is built on top of lower-level components like containerD and runC, which ultimately rely on core Linux kernel features like Cgroups and namespaces.
#3about 3 minutes
Limiting container resources using Linux Cgroups
Cgroups are a Linux kernel feature used to limit and account for resource usage, such as CPU, memory, process IDs, and I/O for a collection of processes.
#4about 4 minutes
A live demo of limiting process CPU with Cgroups
A practical demonstration shows how to create a new Cgroup, define a CPU usage limit in the `cpu.max` file, and assign a running process to it.
#5about 6 minutes
Isolating processes from each other using Linux namespaces
Namespaces provide process isolation by virtualizing system resources like network interfaces, mount points, process IDs, and user IDs for each container.
#6about 9 minutes
Replicating `docker exec` with the `nsenter` command
By finding a container's process ID on the host, you can use the `nsenter` command to enter all of its namespaces and gain a shell inside the container without using Docker.
#7about 3 minutes
Key takeaways and advice for deeper technical understanding
A summary of how Cgroups and namespaces power containers is followed by advice for developers to dig deeper into technologies, focus on one topic at a time, and share their knowledge.
Related jobs
Jobs that call for the skills explored in this talk.
Power Plus Communications
Mannheim, Germany
Intermediate
Senior
Docker
Kubernetes
+2
Hubert Burda Media
München, Germany
€70-85K
Junior
Intermediate
Kubernetes
Linux
+2
Wilken GmbH
Ulm, Germany
Remote
Senior
Kubernetes
PostgreSQL
+3
Matching moments
09:38 MIN
Technical challenges of shipping a cross-platform browser
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
01:06 MIN
Malware campaigns, cloud latency, and government IT theft
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
01:15 MIN
Crypto crime, EU regulation, and working while you sleep
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
05:01 MIN
Comparing the security models of browsers and native apps
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
03:39 MIN
Breaking down silos between HR, tech, and business
What 2025 Taught Us: A Year-End Special with Hung Lee
05:28 MIN
The origin story of the Polypane developer browser
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
Featured Partners
Related Videos
Docker network without Docker
Oliver Seitz
Turning Container security up to 11 with Capabilities
Mathias Tausig
Compose the Future: Building Agentic Applications, Made Simple with Docker
Mark Cavage, Tushar Jain, Jim Clark & Yunong Xiao
Kubernetes Security - Challenge and Opportunity
Marc Nimmerrichter
This Is Not Your Father's .NET
Don Schenck
All things Docker Compose!
Michael Irwin
Bootable AI Containers with Podman Desktop
Kevin Dubois & Cedric Clyburn
Containers and Kubernetes made easy: Deep dive into Podman Desktop and new AI capabilities
Stevan Le Meur
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Canonical Ltd.
Barcelona, Spain
Remote
API
Linux
Kubernetes
Linux kernel


Softwarezentrum Böblingen/Sindelfingen e.V.
Böblingen, Germany
Remote
Intermediate
GIT
Bash
Azure
Linux
+5


Canonical Ltd.
Ricote, Spain
Remote
Ceph
Linux
Kubernetes
Linux kernel

Expert Employment
Abingdon, United Kingdom
Remote
£55-90K
Linux
Python

Canonical Ltd.
Sevilla la Nueva, Spain
Remote
Linux
DevOps
Python
Docker
+4

Canonical Ltd.
Municipality of Salamanca, Spain
Remote
API
Ceph
Linux
Kubernetes
+1

Rocken Schweiz/suisse/switzerland
Gelsenkirchen, Germany
Remote
Bash
Linux
Docker
Ansible
+3