moby--moby/api/client/volume
Yong Tang 6c5c34d50d Add `--force` in `docker volume rm` to fix out-of-band volume driver deletion
This fix tries to address the issue in raised #23367 where an out-of-band
volume driver deletion leaves some data in docker. This prevent the
reuse of deleted volume names (by out-of-band volume driver like flocker).

This fix adds a `--force` field in `docker volume rm` to forcefully purge
the data of the volume that has already been deleted.

Related documentations have been updated.

This fix is tested manually with flocker, as is specified in #23367.
An integration test has also been added for the scenario described.

This fix fixes #23367.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-08-18 18:01:25 -07:00
..
cmd.go Set Long text for volume commands so they can be used to generate man pages. 2016-07-19 12:00:21 -04:00
create.go Dont run man generation as part of test-unit. 2016-07-19 12:00:35 -04:00
inspect.go Dont run man generation as part of test-unit. 2016-07-19 12:00:35 -04:00
list.go Add missing docs for volume ls filter=label 2016-08-15 17:42:16 +02:00
remove.go Add `--force` in `docker volume rm` to fix out-of-band volume driver deletion 2016-08-18 18:01:25 -07:00