Created
July 1, 2016 11:41
-
-
Save hinzundcode/cbc2a81b2f9a36320f288b4aa46a0177 to your computer and use it in GitHub Desktop.
firefox over docker and vnc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
RUN apt-get update && apt-get install -y x11vnc xvfb firefox | |
RUN mkdir ~/.vnc | |
RUN x11vnc -storepasswd 1234 ~/.vnc/passwd | |
RUN bash -c 'echo "firefox"' >> /.bashrc | |
EXPOSE 5900 | |
CMD ["x11vnc", "-forever", "-usepw", "-create"] | |
# on osx: $ open vnc://docker:<port> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment