jlesage / docker-firefox

Docker container for Firefox
MIT License
1.42k stars 267 forks source link

Firefox: lock preferences, settings #148

Open joel72265 opened 1 year ago

joel72265 commented 1 year ago

Am I able to lock or set Firefox settings using the two files below in this docker. If yes, can you please let me know the path to put these files in /docker/appdata/firefox .... or another path ??

Thank you, for making this docker Joel

jlesage commented 1 year ago

According to the link you provided, it seems that the files need to be placed under /usr/lib/firefox/ inside the container.

You probably need to create these files on the host and map them to the container at the correct location (e.g. by using the -v parameter of the docker run command).

joel72265 commented 1 year ago

thank you for the reply.

I am a beginner in Docker, Linux, however if you sure of the exact location and if these files work would be very helpful. Thank you

jlesage commented 1 year ago

Inside the container, the paths should be:

This is according to the provided link, I did not try myself.

joel72265 commented 1 year ago

thank you for your efforts, that is great :)