2016-04-05 03:35:24 -04:00
|
|
|
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
|
|
|
|
|
2016-10-29 03:03:26 -04:00
|
|
|
# if devicemapper version is old and compilation fails, compile with `libdm_no_deferred_remove` tag
|
2016-04-05 03:35:24 -04:00
|
|
|
$ go build -tags libdm_no_deferred_remove contrib/docker-device-tool/device_tool.go
|