How to run docker image in ubuntu with vnc?
问题 In order to examine selenium tests running inside a docker image I am trying to set up a VNC to verify what is going on during the tests. I am following the suggestions made here and created a new docker image with the following additional lines in Dockerfile : RUN apt-get install -y x11vnc RUN mkdir ~/.vnc RUN x11vnc -storepasswd 1234 ~/.vnc/passwd Then I started the docker image with the following command: docker run -p 5900 --rm -it --entrypoint /bin/bash selenium-tests and started krdc as