jlesage / docker-firefox

Docker container for Firefox
MIT License
1.56k stars 276 forks source link

Increase disc size limitations #248

Open Bluejanis opened 1 month ago

Bluejanis commented 1 month ago

Firefox shows a warning like there is a limit in disc space, which will affect Firefox functionality. I got the error message this morning after the computer woke up from hibernation (just a couple of hours).

Error message

Looking into Firefox settings, it shows that it uses 155MB for cookies and cache. The host system has 164GB available disc space on C. Should be plenty enough. So there must be a limit within docker desktop or within this container.

This is the docker command I used:

docker run -d `
    --name=firefox `
    -p 5500:5800 `
    -v "C:\Docker\firefox\:/config:rw" `
    -e LANG=de_DE.UTF-8 `
    -e DARK_MODE=1 `
    -e SECURE_CONNECTION=1 `
    -e WEB_AUDIO=1 `
    jlesage/firefox

Is there a configuration parameter to increase the size Firefox is allowed to use in the docker container?

jlesage commented 1 month ago

The container itself cannot impose limit.

To see free space as seen by the container, can you share the output of:

docker exec firefox df -h
Bluejanis commented 3 weeks ago

Thanks, but in the meantime I had deleted and recreated the container already. So far I did not encounter the issue again.