diff --git a/storage/volumes.md b/storage/volumes.md index 163b9e5079..61ea2088c8 100644 --- a/storage/volumes.md +++ b/storage/volumes.md @@ -578,6 +578,12 @@ the Docker Engine removes the `/foo` volume but not the `awesome` volume. $ docker run --rm -v /foo -v awesome:/bar busybox top ``` +> **Note**: +> +> If another container binds the volumes with +> `--volumes-from`, the volume definitions are _copied_ and the +> anonymous volume also stays after the first container is removed. + ### Remove all volumes To remove all unused volumes and free up space: