Fixing documentation for v2 `links` (#3641)

wrapping array values in quotes is required.
This commit is contained in:
Sequoia McDowell 2017-06-20 11:12:57 -07:00 committed by Misty Stanley-Jones
parent 9ad6e05f42
commit 744e5eeec8
1 changed files with 4 additions and 4 deletions

View File

@ -551,13 +551,13 @@ It's recommended that you use reverse-DNS notation to prevent your labels from c
### links
Link to containers in another service. Either specify both the service name and
a link alias (`SERVICE:ALIAS`), or just the service name.
a link alias (`"SERVICE:ALIAS"`), or just the service name.
web:
links:
- db
- db:database
- redis
- "db"
- "db:database"
- "redis"
Containers for the linked service will be reachable at a hostname identical to
the alias, or the service name if no alias was specified.