On Sat, Mar 11, 2023 at 4:51 PM Sergio Belkin <sebelk@gmail.com> wrote:
Hi,
I'm wondering if Cockpit can handle Docker containers in Fedora 37. Can anyone confirm if this is possible or not, and if so, give me some tips on how to do it? I see a section for podman containers but not for docker ones.
Thanks in advance!

Good timing! I've recently run across this at work, but on a RHEL 8.6 system, but that probably doesn't matter. I would just use podman, the commands are mostly the same as docker, and it doesn't rely on a service running.

If you start up a docker container with podman it will show up in cockpit. The only thing you need to be careful of, is if you start it as a normal user, it will be killed by systemd when you logout. To prevent this you can run `loginctl enable-linger` to prevent this behavior.

https://www.freedesktop.org/software/systemd/man/loginctl.html

Thanks,
Richard