diff options
author | Aaron Smith <aasmith@redhat.com> | 2018-11-09 13:11:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-11-09 13:11:06 +0000 |
commit | 3608211acf5c883443e63522560597ba8d1c6e48 (patch) | |
tree | 74d0096dc7059842f1436e02f506c10ed2d7243a /docs/release | |
parent | fc9384689ff88b6e3014232a0ad4912c2041ae9c (diff) | |
parent | 86381552a74920fd5c33ccae1e98fd4f2ae5479f (diff) |
Merge "docker.userguide: Fix manual grafana and influxdb run commands"
Diffstat (limited to 'docs/release')
-rw-r--r-- | docs/release/userguide/docker.userguide.rst | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/release/userguide/docker.userguide.rst b/docs/release/userguide/docker.userguide.rst index 571f833a..fe7711aa 100644 --- a/docs/release/userguide/docker.userguide.rst +++ b/docs/release/userguide/docker.userguide.rst @@ -739,7 +739,8 @@ Run the InfluxDB docker image ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. code:: bash - $ sudo docker run -tid -v /var/lib/influxdb:/var/lib/influxdb -p 8086:8086 -p 25826:25826 opnfv/barometer-influxdb + $ sudo docker run -tid -v /var/lib/influxdb:/var/lib/influxdb --net=host\ + --name bar-influxdb opnfv/barometer-influxdb Check your docker image is running @@ -761,16 +762,18 @@ Connecting to an influxdb instance running on local system and adding own custom .. code:: bash $ cd <BAROMETER_REPO_DIR> - $ sudo docker run -tid -v /var/lib/grafana:/var/lib/grafana -v ${PWD}/docker/barometer-grafana/dashboards:/opt/grafana/dashboards \ - -p 3000:3000 opnfv/barometer-grafana + $ sudo docker run -tid -v /var/lib/grafana:/var/lib/grafana \ + -v ${PWD}/docker/barometer-grafana/dashboards:/opt/grafana/dashboards \ + --name bar-grafana --net=host opnfv/barometer-grafana Connecting to an influxdb instance running on remote system with hostname of someserver and IP address of 192.168.121.111 .. code:: bash - $ sudo docker run -tid -v /var/lib/grafana:/var/lib/grafana -p 3000:3000 -e \ - influxdb_host=someserver --add-host someserver:192.168.121.111 opnfv/barometer-grafana + $ sudo docker run -tid -v /var/lib/grafana:/var/lib/grafana --net=host -e \ + influxdb_host=someserver --add-host someserver:192.168.121.111 --name \ + bar-grafana opnfv/barometer-grafana Check your docker image is running |