aboutsummaryrefslogtreecommitdiffstats
path: root/docs/release
diff options
context:
space:
mode:
authorMatthias Runge <mrunge@redhat.com>2018-11-23 09:47:57 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-11-23 09:47:57 +0000
commit892bdcf241acf056395097fa278da22e9c9c013b (patch)
treee5750bf06df0aa35423cc0af469c5598c7952fe3 /docs/release
parent1e6ea0a6240327c73de60f015e28a3bd24465352 (diff)
parent4a69a127fca82c11373254a26e6d8c7867effdb4 (diff)
Merge "docker.userguide: Add --network=host option for manual docker build examples"
Diffstat (limited to 'docs/release')
-rw-r--r--docs/release/userguide/docker.userguide.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/release/userguide/docker.userguide.rst b/docs/release/userguide/docker.userguide.rst
index a666c135..c184abfa 100644
--- a/docs/release/userguide/docker.userguide.rst
+++ b/docs/release/userguide/docker.userguide.rst
@@ -573,7 +573,7 @@ Build the collectd docker image
$ git clone https://gerrit.opnfv.org/gerrit/barometer
$ cd barometer/docker/barometer-collectd
$ sudo docker build -t opnfv/barometer-collectd --build-arg http_proxy=`echo $http_proxy` \
- --build-arg https_proxy=`echo $https_proxy` -f Dockerfile .
+ --build-arg https_proxy=`echo $https_proxy` --network=host -f Dockerfile .
.. note::
Main directory of barometer source code (directory that contains 'docker',
@@ -703,7 +703,7 @@ Build influxdb image from Dockerfile
$ cd barometer/docker/barometer-influxdb
$ sudo docker build -t opnfv/barometer-influxdb --build-arg http_proxy=`echo $http_proxy` \
- --build-arg https_proxy=`echo $https_proxy` -f Dockerfile .
+ --build-arg https_proxy=`echo $https_proxy` --network=host -f Dockerfile .
.. note::
In the above mentioned ``docker build`` command, http_proxy & https_proxy arguments needs to