mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-01 15:08:33 +00:00
Updated the documentation regarding binds options.
Signed-off-by: Alexander Slesarev <alex.slesarev@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user