Removed configuration section from volumes.
As it is outdated and also doesn't belong as part of the conceptual explanation of what a volume is. #43809pull/43823/head
parent
3c868f5773
commit
9f6793ab95
|
@ -1234,24 +1234,7 @@ in `Container.volumeMounts`. Its values are:
|
|||
(unmounted) by the containers on termination.
|
||||
{{< /warning >}}
|
||||
|
||||
### Configuration
|
||||
|
||||
Before mount propagation can work properly on some deployments (CoreOS,
|
||||
RedHat/Centos, Ubuntu) mount share must be configured correctly in
|
||||
Docker as shown below.
|
||||
|
||||
Edit your Docker's `systemd` service file. Set `MountFlags` as follows:
|
||||
|
||||
```shell
|
||||
MountFlags=shared
|
||||
```
|
||||
|
||||
Or, remove `MountFlags=slave` if present. Then restart the Docker daemon:
|
||||
|
||||
```shell
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl restart docker
|
||||
```
|
||||
|
||||
## {{% heading "whatsnext" %}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue