Docker Lab (1/12): The Container Lifecycle and Why It Exits Right Away

Giovanni Pace

Description

Why does a Docker container start and disappear immediately? In the first episode of the lab we take apart the container lifecycle: the created, running and exited states, and why a container with no active process stops on its own.