Przeglądaj źródła

Add host-in-port-mapping feature to docs and changelog

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad 11 lat temu
rodzic
commit
8e265905d3
2 zmienionych plików z 10 dodań i 1 usunięć
  1. 9 1
      CHANGES.md
  2. 1 0
      docs/yml.md

+ 9 - 1
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)

+ 1 - 0
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.