mviereck / x11docker

Run GUI applications and desktops in docker and podman containers. Focus on security.
MIT License
5.68k stars 379 forks source link

Improve browser stability with increased shared memory allocation #539

Closed jjavieralv closed 1 month ago

jjavieralv commented 1 month ago

Improve firefox example in README.md

NOW

| Firefox with shared Download folder
and internet access. | x11docker -I --share $HOME/Downloads -- --tmpfs /dev/shm -- jess/firefox |

PROPOSAL

| Firefox with shared Download folder
and internet access. | x11docker -I --share $HOME/Downloads -- --tmpfs /dev/shm:size=500M -- jess/firefox |

With this config you can set up the ammount size of the shm file By default the size is half of the available RAM (https://docs.docker.com/engine/storage/tmpfs/#:~:text=If%20unset%2C%20the%20default%20maximum,of%20the%20host's%20total%20RAM.&text=File%20mode%20of%20the%20tmpfs,to%201777%20or%20world%2Dwritable.)