How does podman network work? #22693
Replies: 1 comment
-
solved |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm setting up the podman container (which is the simulator in this case) on RHEL9, and try to get its IP address in order to communicate with other containers, but I can't find its address by running
podman inspect
orpodman container inspect -f '{{.NetworkSettings.IPAddress}}' <your_container>
Here's my podman container:
podman run -d --rm -v ${PWD}/sim_files:/sim_files -p 5020:5020 --name modbus-sim iotechsys/pymodbus-sim:1.0.4
Here's the screenshot of podman inspect, you can see the IPAddress section is empty

I'm wondering if I should run
podman network create
or sth like this?OS info: RHEL9
podman version: 4.9.4
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions