Docker 29 · Volumes and networks

Remove a volume

Delete a volume that no container uses.

docker volume rm mydata

Caution: Deleting a volume deletes the data in it.

Official Docker 29 documentation

More volumes and networks commands

All volumes and networks commands · Docker 29 cheatsheet

Was this page helpful?