1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/client
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
..
bundlefile Add some tests for bundlefile and improve the error messages for LoadFile 2016-06-16 18:18:25 -04:00
container Forbid update restart policy of container with AutoRemove flag 2016-08-16 15:36:13 +08:00
formatter Implement stringutils.Ellipsis() 2016-08-11 14:14:06 +02:00
idresolver Update to new swarmkit/engine-api 2016-06-30 17:22:47 -07:00
image Suppress verbose "Sending build context" messages in non tty scenarios 2016-08-15 18:35:05 -07:00
inspect remove fallback for Go 1.4 2016-06-07 22:38:02 +02:00
network Refactor dockerCli *Format to ConfigFile call 2016-08-04 15:00:00 +02:00
node Add --no-trunc to service/node/stack ps output 2016-08-16 10:19:11 -04:00
plugin Implement stringutils.Ellipsis() 2016-08-11 14:14:06 +02:00
registry tweak logout message 2016-08-12 17:00:06 -07:00
service Merge pull request #25721 from cpuguy83/revendor_engine-api 2016-08-16 17:18:43 -04:00
stack Merge pull request #25337 from jhorwit2/jah/25332 2016-08-16 09:25:45 -07:00
swarm Improve swarm join-token instructions 2016-08-02 16:44:02 +02:00
system Merge pull request #25721 from cpuguy83/revendor_engine-api 2016-08-16 17:18:43 -04:00
task Add --no-trunc to service/node/stack ps output 2016-08-16 10:19:11 -04:00
volume Add --force in docker volume rm to fix out-of-band volume driver deletion 2016-08-18 18:01:25 -07:00
cli.go Refactor dockerCli *Format to ConfigFile call 2016-08-04 15:00:00 +02:00
client.go Make sure docker api client implements engine-api client. 2016-01-07 21:02:19 -05:00
commands.go Convert inspect to cobra. 2016-08-03 10:36:47 -04:00
credentials.go Migrate login & logout command to cobra 2016-06-10 12:04:29 +02:00
hijack.go Fix logrus formatting 2016-06-11 13:16:55 -07:00
registry.go Merge pull request #23584 from nishanttotla/private-images-swarm-services 2016-06-30 17:18:59 -07:00
trust.go api,daemon: cleanup some unused stuff 2016-06-21 14:15:19 -07:00
trust_test.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
utils.go Migrate exec command to cobra 2016-07-29 02:10:36 +00:00