Merge pull request #1800 from aanand/volume-driver-support

Support volume_driver
This commit is contained in:
Aanand Prasad 2015-07-31 16:28:46 +01:00
commit 41b9df7639
4 changed files with 33 additions and 2 deletions

View file

@ -134,6 +134,12 @@ Mount paths as volumes, optionally specifying a path on the host machine
- cache/:/tmp/cache
- ~/configs:/etc/configs/:ro
You can mount a relative path on the host, which will expand relative to
the directory of the Compose configuration file being used.
> Note: No path expansion will be done if you have also specified a
> `volume_driver`.
### volumes_from
Mount all of the volumes from another service or container.
@ -333,7 +339,7 @@ Override the default labeling scheme for each container.
- label:user:USER
- label:role:ROLE
### working\_dir, entrypoint, user, hostname, domainname, mac\_address, mem\_limit, memswap\_limit, privileged, restart, stdin\_open, tty, cpu\_shares, cpuset, read\_only
### working\_dir, entrypoint, user, hostname, domainname, mac\_address, mem\_limit, memswap\_limit, privileged, restart, stdin\_open, tty, cpu\_shares, cpuset, read\_only, volume\_driver
Each of these is a single value, analogous to its
[docker run](https://docs.docker.com/reference/run/) counterpart.
@ -360,6 +366,8 @@ Each of these is a single value, analogous to its
tty: true
read_only: true
volume_driver: mydriver
```
## Compose documentation