Add support for ro option in volumes_from

Fixes #1188

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2015-07-18 11:38:46 +02:00 • committed by Mazz Mosley
commit 5b55a08846
7 changed files with 97 additions and 35 deletions

View file

@ -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