docker run Explained
What docker run does, with an example.
Published November 7, 2026
docker run creates and starts a new container from a specified image.
Key points
- Part of the standard Docker CLI used for building, running, and managing containers
Example
docker run -d -p 8080:80 nginx