On 2020-05-04 18:10, Ryan Wilson wrote:
Hi podman team, I wanted to try out Fedora CoreOS for a couple of upcoming projects so I installed it on bare metal and logged in via ssh. I can start a container detached (as my logged in user) and then verify that the server is running but when I logout of the ssh session, the container stops. From looking at the logs, it appears that the container process is getting SIGTERM Which I assume means the container was stopped gracefully. But by what? How do I stop this behavior? If I detach a container, I would like it to outlive my session. This doesn’t happen when I sudo to root and start the container, only when running as the non-root user. Any suggestions?
Ryan
_______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
I suspect this is systemd killing Podman as the session it was started in dies. Enabling linger with `loginctl enable-linger` usually resolves this. Thanks, Matt Heon