Handle mismatched network formats in config files

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2016-02-18 14:52:52 -08:00 committed by Daniel Nephin
commit f4a22b94ed
7 changed files with 83 additions and 10 deletions

View file

@ -477,7 +477,15 @@ Networks to join, referencing entries under the
#### aliases
Alias names for this service on the specified network.
Aliases (alternative hostnames) for this service on the network. Other servers
on the network can use either the service name or this alias to connect to
this service. Since `alias` is network-scoped:
* the same service can have different aliases when connected to another
network.
* it is allowable to configure the same alias name to multiple containers
(services) on the same network.
networks:
some-network: