tree: 10715a99eb556769e34c2d4728d50a6a04bcf90a [path history] [tgz]
  1. README.md
  2. device_tool.go
  3. device_tool_windows.go
vendor/github.com/docker/docker/contrib/docker-device-tool/README.md

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