Docker CLI
docker pause
Suspend processes in an existing running container on a supported engine. It does not finish the process; resume with unpause. Example assumes an existing container you created in the approved disposable lab; confirm context and ownership before use.
Formal Syntax & Structure
docker syntaxdocker
docker pause CONTAINER [CONTAINER...]Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| CONTAINER | string | Running lab container name or ID. |
Return Value
CLI output
Target identifier on success.
Working Example
Example Snippetdocker
docker pause bm02-pause