Merge pull request #3377 from cpuguy83/3333-fix_-H_default

Make blank -H option default to the same as no -H was sent
This commit is contained in:
Victor Vieux
2014-01-06 11:30:27 -08:00
3 changed files with 12 additions and 1 deletions
+5
View File
@@ -117,6 +117,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