Running a Firefox docker on a local DISPLAY.
1.0K
Running a Firefox docker on a local DISPLAY. This is a useful when you need to keep your browser options on separated container.
docker pull oems/firefox:latest
This must work out of the box, the "--no-remote" ensure that your container Firefox is not in relation with your local Firefox instance.
Replace the "-ti --rm" option with "--name" on the firefox.sh script, for example:
docker run --name ffox_acounts_test1 \
-e DISPLAY=$DISPLAY \
-e URL=$* \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $HOME/.Xauthority:/home/developer/.Xauthority \
-v $HOME/Downloads:/home/developer/Downloads \
--net=host \
oems/firefox:latest
firefox.sh www.google.com
No guaranty at all. A Blog with the complete information of this build. http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/
Content type
Image
Digest
Size
146.5 MB
Last updated
over 10 years ago
docker pull oems/docker_firefox