Description of problem: We are trying to build docker image. It was working fine on Docker version 1.2.0, build fa7b24f/1.2.0. But up gradation to latest 1.4 it's started hangs.We were unable to build images anymore. Version-Release number of selected component (if applicable): $ sudo docker -v Docker version 1.4.1, build 5bc2ff8/1.4.1 $ sudo docker info Containers: 2 Images: 110 Storage Driver: devicemapper Pool Name: docker-8:17-2228225-pool Pool Blocksize: 65.54 kB Data file: /var/lib/docker/devicemapper/devicemapper/data Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata Data Space Used: 12.64 GB Data Space Total: 107.4 GB Metadata Space Used: 15.24 MB Metadata Space Total: 2.147 GB Library Version: 1.02.89-RHEL6 (2014-09-01) Execution Driver: native-0.2 Kernel Version: 2.6.32-431.29.2.el6.x86_64 Operating System: <unknown> CPUs: 1 Total Memory: 1.833 GiB How reproducible: Install docker using following steps 1) Run wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm or wget "http://epel.mirror.srv.co.ge/6/i386/epel-release-6-8.noarch.rpm" 2) Run sudo rpm -Uvh epel-release-6*.rpm 3) Run sudo yum -y install docker-io 4) Run sudo service docker start 5) cd /etc/yum.repos.d 6) sudo wget public-yum.oracle.com/public-yum-ol6.repo 7) sudo wget public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle 8) sudo yum update device-mapper 9) sudo service docker restart Any Dockerfile can be used to reproduce issue. FROM ubuntu # Install vnc, xvfb in order to create a 'fake' display and firefox RUN ls EXPOSE 5900 CMD ["uname"] Steps to Reproduce: 1. Install docker-io as mentioned above 2. use above dockerfile or any then run docker build -t "sample" --rm=true . 3. 90% it hangs node, session will be lost. Actual results: hangs node, session will be lost. Expected results: Should build images Additional info: Tried sudo yum update as mentioned in the below site. But still problem remains same https://docs.docker.com/installation/rhel/
sorry but I gotta ask, what's the additional oracle repo for? Is this to update device-mapper that's otherwise not present in rhel6/el6 ?
(In reply to venkat from comment #0) > Any Dockerfile can be used to reproduce issue. > > FROM ubuntu > > # Install vnc, xvfb in order to create a 'fake' display and firefox > RUN ls > EXPOSE 5900 > CMD ["uname"] > > > Steps to Reproduce: > 1. Install docker-io as mentioned above > 2. use above dockerfile or any then run docker build -t "sample" --rm=true . > 3. 90% it hangs node, session will be lost. > Could you check if docker-io-1.5.0-1 takes care of this? Certainly works for me as did 1.4.1-3. 1.5.0-1 is in epel6-testing. If not, please read on.. 'any Dockerfile' sounds too vague a term. Could you let me know if your Dockerfile above is complete? The comment up there sounds like there's an 'apt-get install...' step needed. Going by the above comment, here's the Dockerfile I assume you'd want to use (correct me if I'm wrong): ---Dockerfile--- FROM ubuntu RUN apt-get update RUN apt-get -y install firefox xvfb vnc4server RUN ls EXPOSE 5900 CMD ["uname"] ---Dockerfile--- and docker build with this Dockerfile gives me: (uses cache to keep output short) $ sudo docker build . Sending build context to Docker daemon 2.048 kB Sending build context to Docker daemon Step 0 : FROM ubuntu ---> 5ba9dab47459 Step 1 : RUN apt-get update ---> Using cache ---> ed6085e22647 Step 2 : RUN apt-get -y install firefox xvfb vnc4server ---> Using cache ---> 207570c0e1ff Step 3 : RUN ls ---> Using cache ---> 725817d5b510 Step 4 : EXPOSE 5900 ---> Using cache ---> 31456f34ce1d Step 5 : CMD uname ---> Using cache ---> 8d73b2b5a45e Successfully built 8d73b2b5a45e My distro and package versions: $ rpm -q docker-io device-mapper docker-io-1.5.0-1.el6.x86_64 device-mapper-1.02.90-2.el6_6.1.x86_64 $ cat /etc/centos-release CentOS release 6.6 (Final)