What is Podman?

What is Podman?

Why use Podman instead of Docker?

  1. Firewalld cannot block ports opened by docker containers.
  2. Podman can be managed by Cockpit.
  3. RedHat distros support Podman natively.

Post-installation steps for Podman

Rootless user

Podman supports rootless user natively, but the default settings are not appropriate for all applications. Some extra jobs are required.

1
2
sudo sysctl net.ipv4.ip_unprivileged_port_start=80
sudo loginctl enable-linger $USER

Communication between containers and host.

  • Docker containers use 172.17.0.1 to connect to host.
  • Podman containers use 10.0.2.2 to connect to host.