Make blank -H option default to the same as no -H was sent

This commit is contained in:
Brian Goff
2013-12-29 14:36:46 -05:00
parent 22162687df
commit 8b82b0dfe7
3 changed files with 12 additions and 1 deletions
+5
View File
@@ -115,6 +115,11 @@ For example:
* ``tcp://host:4243`` -> tcp connection on host:4243
* ``unix://path/to/socket`` -> unix socket located at ``path/to/socket``
``-H``, when empty, will default to the same value as when no ``-H`` was passed in.
``-H`` also accepts short form for TCP bindings:
``host[:port]`` or ``:port``
.. code-block:: bash
# Run docker in daemon mode