-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kill Docker container if x11 window was closed #68
Comments
x11docker already terminates docker container if the additional X server is closed. Also, the X server is terminated if the container terminates. If chromium does not terminate itself after closing chromium window, I'd call that a chromium bug. If a process is running with If you run chromium e.g. with You could run a watching background process in ENTRYPOINT that terminates all chromium processes if Alternatively, you can run e.g. |
x11docker has a new option
With additional X servers it is enough to just set |
I've encountered some issues, mostly with Chromium, that the Docker container is still running if I close the browser. Not all chromium processes are killed on closing the Browser.
Is it possible to check, if the x11 window/session was closed and the Docker container is still running? Does it makes sense to kill the Docker container if no x11 session exists anymore?
The text was updated successfully, but these errors were encountered: