Run Mozilla Firefox browser in a Docker container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andy 32a6750311
bump to v65.0
5 years ago
data bump to v65.0 5 years ago
Dockerfile bump to v65.0 5 years ago
LICENSE changed license 8 years ago
Makefile bump firefox to 56.0 7 years ago update readme 7 years ago
docker-compose.yml bump to v65.0 5 years ago
launch bump firefox and java; refactor 8 years ago

Firefox in Docker

Launching the Firefox

You can use the following shortcut function and place it to your ~/.bash_aliases file

alias docker="sudo -E docker"
alias docker-compose="sudo -E docker-compose"

function docker_helper() { { pushd ~/docker/$1; docker-compose rm -fa "$1"; docker-compose run -d --name "$1" "$@"; popd; } }
function firefox() { { docker_helper $FUNCNAME $@; } }



Following are some useful commands which you can use for testing the audio

docker-compose run --rm --entrypoint /bin/bash firefox
apt-get update && apt-get install -y alsa-utils
aplay -L
pactl list
cat /dev/urandom | aplay -
arecord -D pulse -f cd | aplay -D pulse -B 10000 -

WebRTC online test for Microphone, Camera, Network, Connectivity and Throughput


Go to about:support in the Firefox to see whether everything is OK or not.

Codecs and the HW acceleration

You may want to disable Google's VP8 & VP9 video codecs: "MSE & WebM VP9" and "WebM VP8" as there is no hardware decoding for them. To do this, install h264ify extension from

Check the codecs

Be careful playing with the following settings!



Enabling GSSAPI Kerberos SSO




Here is the list of Firefox's extensions I am using