Signed-off-by: Amit Krishnan <krish.amit@gmail.com> Signed-off-by: Alexander Morozov <lk4d4@docker.com> Upstream-commit: 934328d8ea650bf8a9c3c719999ce2a1f5dd5df6 Component: engine
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 compilation fails, compile with `libdm_no_deferred_remove` tag
$ go build -tags libdm_no_deferred_remove contrib/docker-device-tool/device_tool.go