On 1/11/22 11:29, Ranbir wrote:
On Wed, 2021-12-22 at 17:27 -0500, Ranbir wrote:
> Hello,
>
> I have a rootless container running postgrey on a Rocky Linux 8
> server.
> Besides the fact I had problems getting the container running
> rootless,
> which I overcame, the new issue is that connections to the exposed
> port
> are established and then immediately dropped. I can't figure out why
> this is happening.
I still don't know why the telnet connection won't stay up. I assumed
it was the rootless container causing some problem that I didn't
understand, so instead I ran it as a rootfull container. This time my
connection tests work as expected. When I telnet to the port, the
session stays up and isn't dropped immediately.
I guess I'm going to have to run the postgrey container as rootfull. It
would be nice to know why the rootless container didn't work.
Ranbir
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.