mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-07 06:08:30 +00:00
use -H
This commit is contained in:
@@ -15,7 +15,7 @@ To list available commands, either run ``docker`` with no parameters or execute
|
||||
|
||||
$ docker
|
||||
Usage: docker [OPTIONS] COMMAND [arg...]
|
||||
-h="127.0.0.1:4243": Host:port to bind/connect to
|
||||
-H="127.0.0.1:4243": Host:port to bind/connect to
|
||||
|
||||
A self-sufficient runtime for linux containers.
|
||||
|
||||
|
||||
@@ -42,9 +42,9 @@ use -host and -port on both deamon and client
|
||||
.. code-block:: bash
|
||||
|
||||
# Run docker in daemon mode
|
||||
sudo <path to>/docker -h 0.0.0.0:5555 &
|
||||
sudo <path to>/docker -H 0.0.0.0:5555 &
|
||||
# Download a base image
|
||||
docker -h :5555 pull base
|
||||
docker -H :5555 pull base
|
||||
|
||||
|
||||
Starting a long-running worker process
|
||||
|
||||
Reference in New Issue
Block a user