Added clarification for deferred deletion (#2266)

Signed-off-by: Matt Bentley <matt.bentley@docker.com>
This commit is contained in:
Matt Bentley 2017-03-16 23:05:53 -04:00 committed by Misty Stanley-Jones
parent 66996126eb
commit 9c74818cf5
1 changed files with 4 additions and 3 deletions

View File

@ -325,6 +325,10 @@ assumes that the Docker daemon is in the `stopped` state.
There are two ways to do this. You can set options on the command line if There are two ways to do this. You can set options on the command line if
you start the daemon there: you start the daemon there:
> **Note**: The deferred deletion option, `dm.use_deferred_deletion=true`, is not yet supported
> on CentOS, RHEL, or Ubuntu 14.04 when using the default kernel. Support was added in the
> upstream kernel version 3.18.
```none ```none
--storage-driver=devicemapper \ --storage-driver=devicemapper \
--storage-opt=dm.thinpooldev=/dev/mapper/docker-thinpool \ --storage-opt=dm.thinpooldev=/dev/mapper/docker-thinpool \
@ -347,9 +351,6 @@ assumes that the Docker daemon is in the `stopped` state.
} }
``` ```
> **Note**: Always set both `dm.use_deferred_removal=true` and `dm.use_deferred_deletion=true`
> to prevent unintentionally leaking mount points.
15. If using systemd and modifying the daemon configuration via unit or drop-in file, reload systemd to scan for changes. 15. If using systemd and modifying the daemon configuration via unit or drop-in file, reload systemd to scan for changes.
```bash ```bash