Skip to content

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

Select an icon to see what it is.

Step 3 of 6

pause and unpause: freeze in place

POST /containers/{id}/pause freezes every process in the container's cgroup. They keep their memory but get no CPU time. POST /containers/{id}/unpause thaws them.

$ docker pause web

POST /v1.45/containers/d4e5f6a7b8c9d0e1d4e5f6a7b8c9d0e1d4e5f6a7b8c9d0e1d4e5f6a7b8c9d0e1/pause

(empty body)