I discovered that the --network host option is causing this issue. When I run the container without that option the check_icmp works.
The reason I used the --network host option is that I can use Individual program call instead of agent access rule to ssh into the container host and monitor that system as well.
Piece from the podman-run manpage:
–network=mode, --net
Set the network mode for the container.• host: use the Podman host network stack. Note: the host mode gives the container full access to local system services such as D-bus and is therefore considered insecure;