On 1/12/22 15:04, Ranbir wrote:
On Tue, 2022-01-11 at 14:53 -0500, Daniel Walsh wrote:
Did you log out of your system? Systemd will kill all process when you logout.
You can use loginctl enable-linger to leave it running. I never got it that far since I've just been testing out the image I built. However, I already enabled lingering for the user running the containers.
I built the image, ran the container in rootless mode, did a telnet connection test and bam, the connection is immediately dropped. When I switched the container to rootfull, the telnet connection stays up.
SELinux enabled or not doesn't make a difference either.
Try the container in --privileged mode, to see if this is causing the issue. If it still crashes, then I figure it is something with the user namespace. Do you have an image I could try?