github.com/tych0/moby@v1.13.1/contrib/docker-device-tool/README.md (about)

     1  Docker device tool for devicemapper storage driver backend
     2  ===================
     3  
     4  The ./contrib/docker-device-tool contains a tool to manipulate devicemapper thin-pool.
     5  
     6  Compile
     7  ========
     8  
     9      $ make shell
    10      ## inside build container
    11      $ go build contrib/docker-device-tool/device_tool.go
    12  
    13      # if devicemapper version is old and compilation fails, compile with `libdm_no_deferred_remove` tag
    14      $ go build -tags libdm_no_deferred_remove contrib/docker-device-tool/device_tool.go