Podman Howto (1)

From RaySoft

Installation

[Server Shell]: Install Podman:

sudo dnf --assumeyes install 'podman'

Update

[Server Shell]: Update Podman:

sudo dnf --assumeyes upgrade 'podman'

Configuration

[Server Shell]: Enable and start the systemd Docker socket service (for Podman 2.2 or greater)

sudo systemctl enable --now 'podman.socket'

[Server Shell]: Enable and start the systemd Netavark firewalld reload service

sudo systemctl enable --now 'netavark-firewalld-reload.service'

Test

[Server Shell]: Verify if Podman is working

podman --version

[Server Shell]: Verify if the service is running (for Podman 2.2 or greater)

sudo curl --header 'Content-Type: application/json' \
  --unix-socket '/run/podman/podman.sock' 'http://localhost/_ping'

Output:

OK

Related Howtos

2 pages found: