Skip to content

A container's life: create, start, pause, stop, remove

Select an icon to see what it is.

Step 5 of 6

start again: same container, same files

An exited container still has its writable layer and its Id. Starting it again runs a new process, so Pid changes while the Id stays the same. Files written earlier are still there.

$ docker start web

POST /v1.45/containers/d4e5f6a7b8c9d0e1d4e5f6a7b8c9d0e1d4e5f6a7b8c9d0e1d4e5f6a7b8c9d0e1/start

(empty body)