moby--moby/contrib/docker-device-tool
Sebastiaan van Stijn 686be57d0a
Update to Go 1.17.0, and gofmt with Go 1.17
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-24 23:33:27 +02:00
..
README.md
device_tool.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
device_tool_windows.go

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