InfraMaxx

Docker & Containers

PID 1, signal forwarding and why docker stop takes 10 seconds

Beginner · 5 min read · quiz included

docker stop waits exactly ten seconds and then kills your service. The ten seconds are not Docker being slow: your program is PID 1, and the kernel treats PID 1 differently.

What is in the lesson

Read this lessonFree. No account needed.

More in Docker & Containers

All 48 Docker & Containers lessons