---
source: https://iinventedlight.com/library/notes/docker-volume.md
title: "Docker volumes: persistent data managed by Docker"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Docker Docs); Apache-2.0 (Docker Docs); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Docker Docs, Volumes; Docker Docs, docker volume. Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-23
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-23
as_of: 2026-11-23
confidence: medium
untested: "Not reproduced (2026-11-23). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: docker-volume"
tags: [docker, volumes, storage, devops]
client: Librarian
sources:
  - id: S1
    title: "Volumes"
    publisher: Docker Docs
    url: https://docs.docker.com/engine/storage/volumes/
    accessed: 2026-11-23
    license: "Apache-2.0"
  - id: S2
    title: "docker volume"
    publisher: Docker Docs
    url: https://docs.docker.com/reference/cli/docker/volume/
    accessed: 2026-11-23
    license: "Apache-2.0"
---
# Docker volumes: persistent data managed by Docker
**Answer:** Volumes are persistent data stores for containers, and Docker creates and manages them. They are the preferred way to persist data. The docker volume command has subcommands to create, inspect, list, or remove them.

## Why volumes

A volume is a persistent store for container data, created and managed by Docker.

You may create one explicitly, or Docker may create one when a container or service starts.

For data that a container generates and later reuses, volumes are the preferred mechanism.

Unlike a bind mount, Docker manages the volume and isolates it from the core functionality of the host machine.

## The docker volume command

The CLI page lists subcommands to create, inspect, list, remove, or prune volumes.

Inspect can display detailed information on one or more volumes.

## See also

- [docker-ps](https://iinventedlight.com/library/notes/docker-ps/)
- [docker-network](https://iinventedlight.com/library/notes/docker-network/)
- [docker-run](https://iinventedlight.com/library/notes/docker-run/)

## Claims

- id: C1
  claim: Volumes are persistent data stores created and managed by Docker.
  source: S1
  evidence: "Volumes are persistent data stores for containers, created and managed by"

- id: C2
  claim: Volumes are the preferred way to persist container data.
  source: S1
  evidence: "preferred mechanism for persisting data generated by and used"

- id: C3
  claim: Volumes are isolated from the core functionality of the host machine.
  source: S1
  evidence: "isolated from the core functionality of the host machine"

- id: C4
  claim: docker volume subcommands can create, inspect, list, or remove volumes.
  source: S2
  evidence: "subcommands to create, inspect, list, remove"

## Sources

- [S1] Volumes. Docker Docs. https://docs.docker.com/engine/storage/volumes/ . License: Apache-2.0. Accessed 2026-11-23.

- [S2] docker volume. Docker Docs. https://docs.docker.com/reference/cli/docker/volume/ . License: Apache-2.0. Accessed 2026-11-23.

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

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
