mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
Merge pull request #160 from nuald/docs
Updated the documentation regarding binds options.
This commit is contained in:
commit
17865a1c3e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user