Since I have discovered the cockpit project I am a huge fan. It look so cool out of the box. For small tiny landscapes it might be all you need. But maybe with bigger landscapes and servers with docker it could become a full solution as well.
It doesn’t match my “software defined everything” motto, however it is still cool to work with. In this article I will show you how to add the Docker tools to the Cockpit.
I’m using a standard Fedora 31 installation that has been updated to the latest level using the cockpit itself.
The installation doesn’t work out of the box at this time. In this article I can show you how I fixed it.
Logon to the cockpit. It is by default installed and available through port 9090.

The cockpit project does have a container manager in the applications section which is called Cockpit Podman.

On their own github they are saying that the features are still limited, so that is why we will install the docker cockpit. This will install docker itself as well.
sudo yum install cockpit-docker -y
Runtime of the installation is about a minute. After refreshing the Cockpit interface there is a new menu option called ‘Docker Containers”. However when I open it it states:

To fix this there is a workaround:
Open /etc/default/grub
as root user and add the following systemd.unified_cgroup_hierarchy=0
to the file.

Next execute the following commands and reboot the system:
grub2-mkconfig > /boot/efi/EFI/fedora/grub.cfg
grub2-mkconfig > /boot/grub2/grub.cfg
reboot
If this fix didn’t work for you you can also look at the discussion at the docker github issue.
For me this fixed the issue and the Docker Containers interface is now available.

I hope you enjoyed the article.
Stuart