I ran a small test on Red Hat 10 to see how Cockpit handles a basic container setup. I used Pihole as the example. Pihole is a DNS filter that blocks ads at the network level. I picked it because it shows a real use case, but the same steps apply to any container once you know the ports, variables, and volumes it needs.
These are the ports I used
“53:53/tcp”
“53:53/udp”
“67:67/udp”
“8080:80/tcp”
I ran the container on its own. Cockpit also supports pods if someone wants to group several containers and manage them together. It can help when you run services that depend on each other.
References:
Cockpit Project : https://cockpit-project.org/
Pihole Project : https://pi-hole.net
Podman Project : https://podman.io