docker: update docker configuration 29/46529/12
authorShobhi Jain <shobhi.jain@intel.com>
Wed, 1 Nov 2017 14:23:53 +0000 (14:23 +0000)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Mon, 20 Nov 2017 13:23:22 +0000 (13:23 +0000)
 * update docker user guide

Change-Id: Ia2d7ec26562e8b9feadd8a63459aac401bf18c44
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
docker/Dockerfile
docs/release/userguide/docker.userguide.rst
systems/build_base_machine.sh

index c6f6265..b64dd80 100644 (file)
@@ -1,6 +1,4 @@
 FROM centos:7
-ENV http_proxy ${http_proxy}
-ENV https_proxy ${https_proxy}
 RUN yum update -y
 RUN yum install -y which sudo
 ENV DOCKER y
index 3fda772..c6f56b2 100644 (file)
@@ -221,6 +221,9 @@ Build the barometer docker image
     $ sudo docker build -t barometer_image --build-arg http_proxy=`echo $http_proxy` \
       --build-arg https_proxy=`echo $https_proxy` -f docker/Dockerfile .
 
+.. note::
+   In the above mentioned ``docker build`` command, http_proxy & https_proxy arguments needs to be passed only if system is behind an HTTP or HTTPS proxy server.
+
 Check the docker images:
 
 .. code:: bash
index dab2e76..e78b7fe 100755 (executable)
@@ -63,7 +63,7 @@ else
 fi
 if [ -z ${DOCKER+x} ]; then
        if [ ! -d /lib/modules/`uname -r`/build ] ; then
-       die "Kernel devel is not available for active kernel. It can be caused by recent kernel update. Please reboot and run $0 again."
+        die "Kernel devel is not available for active kernel. It can be caused by recent kernel update. Please reboot and run $0 again."
        fi
 fi
 # download and compile DPDK and Collectd