1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api
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
..
client Add --force in docker volume rm to fix out-of-band volume driver deletion 2016-08-18 18:01:25 -07:00
fixtures Add more unit tests (thus coverage) to pkg api 2015-08-04 19:51:02 +02:00
server Add --force in docker volume rm to fix out-of-band volume driver deletion 2016-08-18 18:01:25 -07:00
types/backend Let client print error when speicify wrong detach keys 2016-04-04 15:35:55 +08:00
common.go Atomically save libtrust key file 2016-06-27 15:54:39 -07:00
common_test.go fix typos 2016-03-06 00:59:11 +08:00
README.md

This directory contains code pertaining to the Docker API:

  • Used by the docker client when communicating with the docker daemon

  • Used by third party tools wishing to interface with the docker daemon