Updated the documentation regarding binds options.

Signed-off-by: Alexander Slesarev <alex.slesarev@gmail.com>
This commit is contained in:
Alexander Slesarev 2017-10-05 10:21:01 +10:00
parent 70c6aebd26
commit 76c36afc60

View File

@ -237,6 +237,10 @@ binds:
- /var:/some/var/path
```
Please note that `binds` doesn't **add** the mount points, but **replaces** them.
You can examine the `Dockerfile` of the component (in particular, `binds` value of
`org.mobyproject.config` label) to get the list of the existing binds.
However, in some circumstances you will need additional options. These options are used primarily if you intend to make changes to mount points _from within your container_ that should be visible from outside the container, e.g., if you intend to mount an external disk from inside the container but have it be visible outside.
In order for new mounts from within a container to be propagated, you must set the following on the container: