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!
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
Thanks Richard,
I have a "Red Hat Developer Subscription for Individuals" I winder if I can manage my subscription from Cockpit.... the only I find is for registering the system, but I get:
Traceback (most recent call last): File "/usr/lib64/python3.11/site-packages/dbus/service.py", line 756, in _message_cb _method_reply_return(connection, message, method_name, signature, *retval) File "/usr/lib64/python3.11/site-packages/dbus/service.py", line 257, in _method_reply_return reply.append(signature=signature, *retval) TypeError: Expected a string or unicode object
Thanks again!
El sáb, 11 mar 2023 a las 20:37, Richard Shaw (hobbes1069@gmail.com) escribió:
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 _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On Sun, Mar 12, 2023 at 8:38 PM Sergio Belkin sebelk@gmail.com wrote:
Thanks Richard,
I have a "Red Hat Developer Subscription for Individuals" I winder if I can manage my subscription from Cockpit.... the only I find is for registering the system, but I get:
Traceback (most recent call last): File "/usr/lib64/python3.11/site-packages/dbus/service.py", line 756, in _message_cb _method_reply_return(connection, message, method_name, signature, *retval) File "/usr/lib64/python3.11/site-packages/dbus/service.py", line 257, in _method_reply_return reply.append(signature=signature, *retval) TypeError: Expected a string or unicode object
Not sure about that one, I would make sure your system is fully updated and if it persists, open a ticket.
Thanks, Richard