Skip to content

What happens when you run docker run hello-world

Select an icon to see what it is.

Step 4 of 5

Create again, then start

The image is local now, so the CLI repeats POST /containers/create and gets 201 with a container Id. It attaches to the container's output, then sends POST /containers/a1b2c3d4e5f6/start. dockerd hands the job to containerd, which uses runc to create the process.

HTTP 201 Created

{
"Id": "a1b2c3d4e5f60718a1b2c3d4e5f60718a1b2c3d4e5f60718a1b2c3d4e5f60718"
"Warnings": []
}