How to install Firefox into a docker: Easy Installation

Hello. I’ve wanted to show you all how to install Firefox web browser to docker in Casaos.

I’m gonna be using Docker container for Firefox by jlesage: https://hub.docker.com/u/jlesage
As of now, I’m using version latest/v24.12.1

And I’m gonna be using these parameters:

docker run -d \
    --name=firefox \
    -p 5800:5800 \
    -v /docker/appdata/firefox:/config:rw \
    jlesage/firefox

[Setting up the parameters for installation:]

We can see that the Docker image is jlesage/firefox → jlesage/firefox:latest

For image I’m gonna be using this picture for icon (copy link of picture):

But you can find your own if you want.

Next we will need to add a port with value 5800 ( Don’t forget to add this port to the Web UI)

The volume for host is anything what you want ( /DATA/AppData/firefox, etc…), but the volume for container needs to be /config

I allowed privileges just in case.

The memory limit needs to be minimum of 1024 Mb. (I have 1024 Mb, because I’m not giving it much load)

And that should be it!
Here are my parameters in Casaos just in case.

image_2024-12-31_164914954

Wishing all of you good luck with install!

1 Like