Skip to content

Commit 2df4e16

Browse files
authored
Merge pull request #105 from PaulSchulz/master
Added comment the README.md regarding modifying exposed ports.
2 parents 4ddfe29 + d829454 commit 2df4e16

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,15 @@ To view the container log
3838
$ make tail
3939
```
4040

41-
If you already have services running on your host that are using any of these ports, you may wish to map the container
42-
ports to whatever you want by changing left side number in the `--publish` parameters. You can omit ports you do not plan to use. Find more details about mapping ports in the Docker documentation on [Binding container ports to the host](https://docs.docker.com/engine/userguide/networking/default_network/binding/) and [Legacy container links](https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/).
41+
If you already have services running on your host that are using any
42+
of these ports, you may wish to map the container ports to whatever
43+
you want by changing left side number in the `--publish` parameters,
44+
or the 'ports' parameters in 'docker-compose.yml'. You can omit ports
45+
you do not plan to use. Find more details about mapping ports in the
46+
Docker documentation on [Binding container ports to the
47+
host](https://docs.docker.com/engine/userguide/networking/default_network/binding/)
48+
and [Legacy container
49+
links](https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/).
4350

4451

4552
### Building the image yourself ###

0 commit comments

Comments
 (0)