David Karlsson 94c2be0e20 Clarify that --rm works with detached containers
Add clarification in the 'Remove anonymous volumes' section that the
--rm option works with both foreground and detached (-d) containers.
Anonymous volumes are cleaned up when the container exits, regardless
of how it was started.

Fixes #19717

Assisted-By: docker-agent
2026-03-20 10:11:12 +01:00
2026-03-09 16:00:22 +00:00
2026-03-19 12:50:22 +00:00
2025-01-30 07:54:26 -08:00
2026-01-05 08:34:39 +01:00
2024-09-16 14:43:05 +02:00
2025-07-16 15:13:38 +02:00
2026-01-08 09:38:05 +00:00
2026-03-06 14:59:12 +01:00
2026-03-17 07:32:21 +01:00
2026-03-17 07:32:21 +01:00
2026-03-17 09:19:07 +01:00
2025-04-02 15:46:24 -04:00

Docs @ Docker

Welcome to Docker Documentation


Welcome to the Docker Documentation repository. This is the source for the Docker Docs Website.

Feel free to open pull requests or issues. Our docs are completely open source, and we deeply appreciate contributions from the Docker community!

Provide feedback

Wed love to hear your feedback! To submit feedback:

  • Click New issue on the docs repository, or
  • Click Request changes in the right column of every page on docs.docker.com, or
  • Click Give feedback on every page in the docs.

To get community support, use the Docker Community Slack. Personalized support is available through the Docker Pro, Team, and Business subscriptions. See Docker Pricing for details.

If you have an idea for a new feature or behavior change in a specific aspect of Docker or have found a product bug, file an issue in the project's repository.

Contribute to Docker docs

We welcome contributions! To get started:

Copyright 2013-2026 Docker, Inc., released under the Apache 2.0 license.

Description
No description provided
Readme Apache-2.0 874 MiB
Languages
Markdown 97.3%
HTML 1.7%
CSS 0.4%
JavaScript 0.2%
Go 0.1%