dockerfiles
dockerfiles copied to clipboard
jess/firefox won't start
Sorry if it's something I'm doing wrong, but when I try to run this image: https://hub.docker.com/r/jess/firefox
Which I assume comes from: https://github.com/jessfraz/dockerfiles/tree/master/firefox
I can't seem to get it to work:
docker run -it --net=host -e DISPLAY=$DISPLAY jess/firefox
(firefox:1): Gtk-WARNING **: 20:42:05.957: Locale not supported by C library.
Using the fallback 'C' locale.
No protocol specified
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :0
I've been poking around trying to get firefox to run under alpine, but I can't work out how to use docker-compose to copy my xauth list into the container... I honestly don't know why it's not working :(
Well... I dun a try: https://github.com/dbolser/docker-firefox
I have a modified version in my fork ( https://github.com/ngaro/dockerfiles ) that works. The comments in the dockerfile also contain instructions on how to run it. A PR has been send 2 years ago but it still isn't merged... Meanwhile you can just build using the dockerfile in my fork.
Thanks