Add support for ro option in volumes_from
Fixes #1188 Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
19271898de
commit
5b55a08846
7 changed files with 97 additions and 35 deletions
|
|
@ -346,11 +346,13 @@ should always begin with `.` or `..`.
|
|||
|
||||
### volumes_from
|
||||
|
||||
Mount all of the volumes from another service or container.
|
||||
Mount all of the volumes from another service or container, with the
|
||||
supported flags by docker : ``ro``, ``rw``.
|
||||
|
||||
volumes_from:
|
||||
- service_name
|
||||
- container_name
|
||||
- service_name:rw
|
||||
|
||||
### cpu\_shares, cpuset, domainname, entrypoint, hostname, ipc, mac\_address, mem\_limit, memswap\_limit, privileged, read\_only, restart, stdin\_open, tty, user, volume\_driver, working\_dir
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue