add section in README about Swarm support

pull/16/head
Anthony Lapenna 2016-06-16 17:39:59 +12:00
parent 9360693f8d
commit 54c82a3a5c
1 changed files with 8 additions and 0 deletions

View File

@ -28,6 +28,14 @@ You can use the `-e` flag to change this socket:
# Connect to a tcp socket:
$ docker run -d -p 9000:9000 --privileged cloudinovasi/cloudinovasi-ui -e http://127.0.0.1:2375
### Swarm support
You can access a specific view for you Swarm cluster by defining the `-s` option:
# Connect to a tcp socket and enable Swarm:
$ docker run -d -p 9000:9000 --privileged cloudinovasi/cloudinovasi-ui -e http://<SWARM_HOST>:<SWARM_PORT> -s
### Change address/port UI For Docker is served on
UI For Docker listens on port 9000 by default. If you run UI For Docker inside a container then you can bind the container's internal port to any external address and port: