I think we doesn't provide dm.no_warn_on_loop_devices option
at all. I didn't found any code to handle this option.
Signed-off-by: Lei Jitang <leijitang@huawei.com>
| ... | ... |
@@ -48,7 +48,7 @@ func runInfo(dockerCli *client.DockerCli) error {
|
| 48 | 48 |
|
| 49 | 49 |
// print a warning if devicemapper is using a loopback file |
| 50 | 50 |
if pair[0] == "Data loop file" {
|
| 51 |
- fmt.Fprintln(dockerCli.Err(), " WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.") |
|
| 51 |
+ fmt.Fprintln(dockerCli.Err(), " WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specifies a custom block storage device.") |
|
| 52 | 52 |
} |
| 53 | 53 |
} |
| 54 | 54 |
|
| ... | ... |
@@ -440,7 +440,7 @@ Storage Driver: devicemapper |
| 440 | 440 |
Deferred Deletion Enabled: false |
| 441 | 441 |
Deferred Deleted Device Count: 0 |
| 442 | 442 |
Data loop file: /var/lib/docker/devicemapper/devicemapper/data |
| 443 |
- WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning. |
|
| 443 |
+ WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specifies a custom block storage device. |
|
| 444 | 444 |
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata |
| 445 | 445 |
Library Version: 1.02.90 (2014-09-01) |
| 446 | 446 |
Logging Driver: json-file |