docker-firefox icon indicating copy to clipboard operation
docker-firefox copied to clipboard

Firefox: lock preferences, settings

Open joel72265 opened this issue 2 years ago • 4 comments

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 ??

  • local-settings.js
  • mozilla.cfg https://support.mozilla.org/en-US/questions/1160596

Thank you, for making this docker Joel

joel72265 avatar Nov 23 '22 08:11 joel72265

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).

jlesage avatar Nov 24 '22 00:11 jlesage

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

joel72265 avatar Nov 24 '22 08:11 joel72265

Inside the container, the paths should be:

  • /usr/lib/firefox/mozilla.cfg
  • /usr/lib/firefox/defaults/pref/local-settings.js

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

jlesage avatar Dec 09 '22 19:12 jlesage

thank you for your efforts, that is great :)

joel72265 avatar Dec 10 '22 10:12 joel72265