* update docker user guide
Change-Id: Ia2d7ec26562e8b9feadd8a63459aac401bf18c44
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
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
$ 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
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