add troubleshooting (#5387)

* add troubleshooting

See: https://github.com/moby/moby/issues/34343

* express better
This commit is contained in:
mrfly 2017-11-29 00:10:44 +08:00 committed by Jim Galasyn
parent a047d2e9b2
commit 3d9d6a80a1
1 changed files with 10 additions and 0 deletions

View File

@ -623,6 +623,16 @@ block device and other parameters to suit your situation.
<output truncated>
```
### Activate the `devicemapper` after reboot
If you reboot the host and find that the docker service failed to start,
you'll see the error, "Non existing device". You need to re-activate the
logical volumes with this command:
```bash
sudo lvchange -ay docker/thinpool
```
## How the `devicemapper` storage driver works
> **Warning**: Do not directly manipulate any files or directories within