Skip to content

Podman and Cockpit

Josh Dressel edited this page Jan 7, 2024 · 8 revisions

Podman Install

DO NOT install Docker and Podman on the same machine.

Add sudo if doing this from a standard installation of Ubuntu. This code is for Ubuntu running in LXC.

Update: apt update && apt full-upgrade -y

Install Podman: apt install podman -y

Cockpit Install

apt install cockpit cockpit-podman -y

Start and enable Podman: systemctl enable --now podman.socket

Go to https://IP-OF-YOUR-LINUX-BOX:9090 to login to Cockpit and start creating containers.

Pull the image: podman pull portainer/portainer-ce

Run the image with the following flags: podman run -d -p 9443:9443 --privileged -v /run/podman/podman.sock:/var/run/docker.sock:Z portainer/portainer-ce