The '--publish-all' option in 'podman-remote' is not working

Solution Verified - Updated -

Issue

The '--publish-all' option of 'podman-remote kube play' doesn't work.
When running 'podman-remote kube play' with this option, 'podman-remote ps' shows the ports of the containers are closed as bellow:

        # podman-remote ps
        CONTAINER ID  IMAGE                                    COMMAND               CREATED        STATUS                  PORTS       NAMES
        e1c101b3da8c  localhost/podman-pause:4.8.1-1701859778                        5 seconds ago  Up 5 seconds                        f9631e285b9f-infra
        a0328fc8f981  quay.io/libpod/alpine_nginx:latest       nginx -g daemon o...  5 seconds ago  Up 5 seconds (healthy)              nginx-nginx

Environment

  • Red Hat Enterprise Linux (RHEL) 8.10 and 9.4
  • podman, versions before 5.2.2-1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content