https://bugzilla.redhat.com/show_bug.cgi?id=1192567
--- Comment #2 from Lokesh Mandvekar lsm5@redhat.com --- (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:
- Install docker-io as mentioned above
- use above dockerfile or any then run docker build -t "sample" --rm=true .
- 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)