Add docs for volumes_from

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
Ben Firshman 2014-07-11 11:11:54 -07:00
parent 94d82d4acb
commit 4afcdbdb3c
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@ expose:
volumes:
- cache/:/tmp/cache
-- Mount all of the volumes from another service or container
volumes_from:
- service_name
- container_name
-- Add environment variables.
-- Environment variables with only a key are resolved to values on the host
-- machine, which can be helpful for secret or host-specific values.