Skip to content

What is a container, really?

Select an icon to see what it is.

Step 1 of 6

The CLI asks for a container

The docker CLI sends POST /containers/create to dockerd with the image name nginx. dockerd stores the config and answers 201 with a container Id. No process exists yet.

$ docker run -d --name web nginx
PrevNext

POST /v1.45/containers/create?name=web

{
"Image": "nginx"
}