Open alirz1 opened 1 year ago
The container crashes or stops ?
Note that by default, terminating Firefox also terminates the container.
You can change this behaviour by setting the KEEP_APP_RUNNING
environment variable. See https://github.com/jlesage/docker-firefox#environment-variables.
@jlesage I think the better way to prevent it is set a firefox variable not the [supervisor].
-e "FF_PREF_HTTP_PROXY=browser.tabs.closeWindowWithLastTab=false"
hope to add it to dockerfile
Thanks for the suggestion @gofunn. While this won't prevent the container from shutting down if Firefox is closed (when KEEP_APP_RUNNING=0
), it seems to be a good default setting to have to prevent Firefox from closing when the last tab is closed. This will be part of the next version :)
Running this in docker on a synology NAS. If I close Firefox, the entire docker for this crashes.