jess/firefox: tab crashes due to small /dev/shm
The recent jess/firefox regulary has tab crashes. This can be reproduced e.g. with youtube videos.
This has been fixed once with https://github.com/jessfraz/dockerfiles/pull/429 that configures browser.tabs.remote.autostart = false. This fix does not help anymore, though.
I found three solutions:
- recommended:
--shm-size=4G, found here: https://github.com/D4Delta/firefox-stable - discouraged:
--ipc=hosthttps://github.com/jessfraz/dockerfiles/issues/360 - discouraged:
--volume /dev/shm:/dev/shm
Afaik the default size of /dev/shm in Docker containers is 64MB. But firefox needs much more than that.
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
My previously recommended solution --shm-size=4G does not work anymore.
I am using --tmpfs /dev/shm now.