mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add docs about how to extend devicemapper thin pool
Signed-off-by: Chun Chen <ramichen@tencent.com>
This commit is contained in:
parent
bb91bd3a89
commit
b21d90c28f
2 changed files with 180 additions and 0 deletions
14
contrib/docker-device-tool/README.md
Normal file
14
contrib/docker-device-tool/README.md
Normal file
|
|
@ -0,0 +1,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 compliation fails, compile with `libdm_no_deferred_remove` tag
|
||||
$ go build -tags libdm_no_deferred_remove contrib/docker-device-tool/device_tool.go
|
||||
Loading…
Add table
Add a link
Reference in a new issue