ab3f294aabf684e763fe96faae6b5e7f36c83468
When using `docker volume rm -f`, all errors were ignored, and volumes where Purged, even if they were still in use by a container. As a result, repeated calls to `docker volume rm -f` actually removed the volume. The `-f` option was implemented to ignore errors in case a volume was already removed out-of-band by a volume driver plugin. This patch changes the remove function to not ignore "volume in use" errors if `-f` is used. Other errors are still ignored as before. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 9d521a4d2fbbeec0f672b986e294fd5f1c4d2f32 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%