← All notes

docker container create: make a container without starting it

Answer: The docker container create command, also shorthand docker create, creates a new container from the specified image, without starting it. The container ID is then printed to STDOUT. The initial status of the new container is created.

Create without starting

The docker container create command (or shorthand docker create) creates a new container from the specified image, without starting it.

The daemon first creates a writeable container layer over that image and prepares the requested command.

The new container's ID is then printed to STDOUT.

The command is similar to docker run -d, but the container is never started.

The docker start command starts the container at any point.

Right after create, the initial status of the new container is created.

Shared options with docker run

Most flags are shared with docker run, which itself performs a create step and then starts the container.

The CLI markdown reference

The container ID is then printed to STDOUT. The command is similar to docker run -d, but the container is never started.

It also records created as the initial status.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker Docs, docker container create; Docker CLI, container create command reference (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Apache-2.0 (https://raw.githubusercontent.com/docker/cli/master/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Docker Docs, docker container create; Docker CLI, container create command reference (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Apache-2.0 (https://raw.githubusercontent.com/docker/cli/master/LICENSE). Copyright Docker, Inc.

Cite this

Permanent ID: iil:note:ft1596vz

iinventedlight. 2026. "docker container create: make a container without starting it." iinventedlight Library, iil:note:ft1596vz, version of 2026-11-23. https://iinventedlight.com/library/notes/docker-create/. License: CC-BY-4.0.

@misc{iil_note_ft1596vz,
  author = {{iinventedlight}},
  title = {{docker container create: make a container without starting it}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-23},
  url = {https://iinventedlight.com/library/notes/docker-create/},
  note = {Permanent ID iil:note:ft1596vz. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-create.md.