Documentation: Include notes on mapping ports

When mapping ports as strings there is an issue with the way YAML parses
numbers in the format "xx:yy" where yy is less than 60 - this issue is
now included in the documentation.

This fixes #103
This commit is contained in:
Gary Rennie 2014-02-20 12:53:43 +00:00
commit b06d37f885
7 changed files with 17 additions and 12 deletions

View file

@ -28,9 +28,11 @@ links:
- redis
-- Expose ports. Either specify both ports (HOST:CONTAINER), or just the container port (a random host port will be chosen).
-- Note When mapping ports in the format HOST:CONTAINER you may experience erroneous results when using a container port lower than 60. This is due to YAML parsing numbers in the format "xx:yy" as sexagesimal (base 60) for this reason it is recommended to define your port mappings as strings.
ports:
- 3000
- 8000:8000
- "3000"
- "8000:8000"
- "49100:22"
-- Map volumes from the host machine (HOST:CONTAINER).
volumes: