☁️ Daily Practice, two formats, one streak, fresh every day at midnight UTC

Puzzle #185dockerbeginner

Container Exits Immediately

You run docker run myapp and the container exits immediately with code 0. The Dockerfile ends with CMD ["/bin/bash"].

Why does the container exit immediately?