docker / cli

The Docker CLI
Apache License 2.0
4.77k stars 1.89k forks source link

run, create: update "--rm" flag description to mention anonymous volumes #5084

Closed thaJeztah closed 2 months ago

thaJeztah commented 2 months ago

The "--rm" flag deletes both the container and any anonymous volumes associated with the container when the container exits.

This patch updates the flag description to also mention volumes.

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.30%. Comparing base (49c0e19) to head (6d21372).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #5084 +/- ## ========================================== - Coverage 61.33% 61.30% -0.03% ========================================== Files 298 295 -3 Lines 20706 20701 -5 ========================================== - Hits 12700 12691 -9 - Misses 7105 7106 +1 - Partials 901 904 +3 ```