1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server
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
..
httputils Add Swarm management backend 2016-06-13 22:16:18 -07:00
middleware Mask join tokens in daemon logs 2016-08-02 15:15:23 -07:00
router Add --force in docker volume rm to fix out-of-band volume driver deletion 2016-08-18 18:01:25 -07:00
middleware.go Move middleware to interfaces. 2016-04-11 09:19:27 -07:00
profiler.go add trace in docker engine's pprof to show execution trace in binary form 2016-05-13 15:24:44 +08:00
router_swapper.go fix typos 2016-03-06 00:59:11 +08:00
server.go Fix logrus formatting 2016-06-11 13:16:55 -07:00
server_test.go Update code for latest engine-api 2016-04-19 16:56:54 +02:00