summaryrefslogtreecommitdiff
path: root/contrib/docker-device-tool/README.md
blob: 6c54d5995fba6d88c444a4928f0e50fabc9e014a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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