diff options
author | John O Loughlin <john.oloughlin@intel.com> | 2018-06-14 16:28:45 +0100 |
---|---|---|
committer | John O'Loughlin <john.oloughlin@intel.com> | 2018-06-15 00:23:49 +0000 |
commit | 8f1da1fc94e5b868d6ea62e5e8b90440d28645a3 (patch) | |
tree | 13c8974863418ebd97e63d70582c0a4d293240a7 /docs/release | |
parent | ed61877e2ba389ada8c4e60160b43e999f23d60b (diff) |
Fix docs
Remove --net=host as it should not be used when
port mapping with the -p option
Change-Id: I7d6d73fe176362fc74df99200a6d68d2a3ec0994
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Diffstat (limited to 'docs/release')
-rw-r--r-- | docs/release/userguide/docker.userguide.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/release/userguide/docker.userguide.rst b/docs/release/userguide/docker.userguide.rst index 33e060af..b42230e8 100644 --- a/docs/release/userguide/docker.userguide.rst +++ b/docs/release/userguide/docker.userguide.rst @@ -427,7 +427,7 @@ Run the InfluxDB docker image ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. code:: bash - $ sudo docker run -tid --net=host -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 -p 8086:8086 -p 25826:25826 opnfv/barometer-influxdb Check your docker image is running @@ -448,7 +448,7 @@ Connecting to an influxdb instance running on local system and adding own custom .. code:: bash - $ sudo docker run -tid --net=host -v /var/lib/grafana:/var/lib/grafana -v ${PWD}/dashboards:/opt/grafana/dashboards \ + $ sudo docker run -tid -v /var/lib/grafana:/var/lib/grafana -v ${PWD}/dashboards:/opt/grafana/dashboards \ -p 3000:3000 opnfv/barometer-grafana Connecting to an influxdb instance running on remote system with hostname of someserver and IP address @@ -456,7 +456,7 @@ of 192.168.121.111 .. code:: bash - $ sudo docker run -tid --net=host -v /var/lib/grafana:/var/lib/grafana -p 3000:3000 -e \ + $ 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 Check your docker image is running |