1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib/docker-device-tool/README.md
Chun Chen b21d90c28f Add docs about how to extend devicemapper thin pool
Signed-off-by: Chun Chen <ramichen@tencent.com>
2016-04-20 10:49:51 +08:00

483 B

Docker device tool for devicemapper storage driver backend

The ./contrib/docker-device-tool contains a tool to manipulate devicemapper thin-pool.

Compile

$ make shell
## inside build container
$ go build contrib/docker-device-tool/device_tool.go

# if devicemapper version is old and compliation fails, compile with `libdm_no_deferred_remove` tag
$ go build -tags libdm_no_deferred_remove contrib/docker-device-tool/device_tool.go