I'm using the docker-compose 1.6 with docker 1.10.1 and version 2 of docker-compose.yml.
As described in Networking in Compose, new network is created and all containers are assigned hostnames in it after docker-compose up
.
How can I reach additional (i.e. scaled) containers via hostnames after docker-compose scale <component>=2
?