Docker CLI

docker start

Launch an existing created or stopped container with its saved configuration. Use -a to attach to stdout/stderr. It does not create another object. Example assumes an existing container you created in the approved disposable lab; confirm context and ownership before use.

Formal Syntax & Structure

docker syntaxdocker
docker start [OPTIONS] CONTAINER [CONTAINER...]

Parameters & Attributes

NameTypeDescription
CONTAINERstringExisting container name or ID.

Return Value

CLI output

Container name or attached program output, depending on options.

Working Example

Example Snippetdocker
docker start -a bm02-ref
Docker Reference