Skip to content

What happens when you run docker run hello-world

Select an icon to see what it is.

Step 1 of 5

The CLI asks to create the container

The docker CLI sends POST /containers/create to dockerd over the unix socket. dockerd looks in its local image store and finds no hello-world:latest. It answers 404, and nothing has changed on disk yet.

$ docker run hello-world
PrevNext

POST /v1.45/containers/create

{
"Image": "hello-world"
"AttachStdout": true
"AttachStderr": true
}