Merge pull request #2948 from dnephin/validate_top_level

Validate that each section of the config is a mapping
This commit is contained in:
Daniel Nephin 2016-02-19 13:41:50 -05:00
commit c7ceacfeae
6 changed files with 105 additions and 49 deletions

View file

@ -477,7 +477,7 @@ Networks to join, referencing entries under the
#### aliases
Aliases (alternative hostnames) for this service on the network. Other containers on the same network can use either the service name or this alias to connect to one of the service's containers.
Aliases (alternative hostnames) for this service on the network. Other containers on the same network can use either the service name or this alias to connect to one of the service's containers.
Since `aliases` is network-scoped, the same service can have different aliases on different networks.