dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

jess/firefox won't start

Open dbolser opened this issue 4 years ago • 3 comments

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 :(

dbolser avatar Aug 18 '21 21:08 dbolser

Well... I dun a try: https://github.com/dbolser/docker-firefox

dbolser avatar Aug 18 '21 22:08 dbolser

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.

ngaro avatar Oct 20 '21 13:10 ngaro

Thanks

dbolser avatar Oct 25 '21 09:10 dbolser