Enable use of Docker networking with the --x-networking flag

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2015-10-07 16:10:08 +01:00 committed by Daniel Nephin
commit d5f5eb1924
14 changed files with 240 additions and 24 deletions

View file

@ -64,9 +64,8 @@ and a `docker-compose.yml` file.
The `docker-compose.yml` file describes the services that make your app. In
this example those services are a web server and database. The compose file
also describes which Docker images these services use, how they link
together, any volumes they might need mounted inside the containers.
Finally, the `docker-compose.yml` file describes which ports these services
also describes which Docker images these services use, any volumes they might
need mounted inside the containers, and any ports they might
expose. See the [`docker-compose.yml` reference](yml.md) for more
information on how this file works.
@ -81,8 +80,6 @@ and a `docker-compose.yml` file.
- .:/code
ports:
- "8000:8000"
links:
- db
This file defines two services: The `db` service and the `web` service.