Sign inSign up

mcrmonkey/firefox

By mcrmonkey

•Updated over 8 years ago

Firefox in a container

Image
0

255

mcrmonkey/firefox repository overview

⁠Firefox

Docker container for firefox.

Based off work done by JessFraz. Original work here⁠

⁠Building

Clone this repo then do the following in the resulting dir:

docker build -t firefox .

⁠Running

For Just firefox in a container :

    docker run -d \
     --memory 2Gb \
     --net host \
     --cpuset-cpus 0 \
     -v /etc/localtime:/etc/localtime:ro \
     -v /tmp/.X11-unix/:/tmp/.X11-unix \
     -e GDK_SCALE \
     -e GDK_DPI_SCALE \
     -e DISPLAY \
     --device /dev/snd \
     --device /dev/dri \
     --name firefox \
      firefox --new-instance

If you want persistence map to the profile dir's with the extra options -v $HOME/.mozilla:/home/firefox/.mozilla -v $home/.cache:/home/firefox/.cache

Tag summary

Content type

Image

Digest

Size

226 MB

Last updated

over 8 years ago

docker pull mcrmonkey/firefox