From 8e265905d3a2d512de2d667e369b860dcafdf791 Mon Sep 17 00:00:00 2001 From: Aanand Prasad Date: Sat, 12 Jul 2014 09:38:18 -0700 Subject: [PATCH] Add host-in-port-mapping feature to docs and changelog Signed-off-by: Aanand Prasad --- CHANGES.md | 10 +++++++++- docs/yml.md | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 1ed060d6e..0dbcae9ea 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -23,12 +23,20 @@ Change log - container_name ``` + - A host address can now be specified in `ports`: + + ``` + ports: + - "0.0.0.0:8000:8000" + - "127.0.0.1:8001:8001" + ``` + - The `net` and `workdir` options are now supported in `fig.yml`. - The `hostname` option now works in the same way as the Docker CLI, splitting out into a `domainname` option. - TTY behaviour is far more robust, and resizes are supported correctly. - Load YAML files safely. -Thanks to @d11wtq, @ryanbrainard, @rail44, @j0hnsmith, @binarin, @Elemecca and @mozz100 for their help with this release! +Thanks to @d11wtq, @ryanbrainard, @rail44, @j0hnsmith, @binarin, @Elemecca, @mozz100 and @marksteve for their help with this release! 0.4.2 (2014-06-18) diff --git a/docs/yml.md b/docs/yml.md index a299669cc..db30da2e4 100644 --- a/docs/yml.md +++ b/docs/yml.md @@ -43,6 +43,7 @@ ports: - "3000" - "8000:8000" - "49100:22" + - "127.0.0.1:8001:8001" -- Expose ports without publishing them to the host machine - they'll only be -- accessible to linked services. Only the internal port can be specified.