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. #43809
pull/43823/head
Rohan Kapse 2023-11-05 19:03:12 +05:30 committed by GitHub
parent 3c868f5773
commit 9f6793ab95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 17 deletions

View File

@ -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" %}}