When discussion the podman network connect command, section 2.3 says this:
and this:
However, when this is done, an error occurs (I'm using a live RHEL 9.2 system with Podman 4.4.1 and real images and containers):
What the text of the section fails to mention is that the container must already be connected to a network (other than the default podman network) before podman network connect can connect it to another one. (This point, incidentally, is made in the containers chapter [13] in RH134).
So, to make it work:
Voilà!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.