I am sure this was asked a million times but I just cannot find anything online for some reason.
I have two network I created with Podman (similar to Docker).
When I do localhost:9998 it just times out.
So it just can't connect.
Is there a way to create net bridge so that I can curl my container in a specific container network?
UPDATE
[
{
"cniVersion": "0.4.0",
"name": "search",
"plugins": [
{
"bridge": "cni-podman0",
"ipMasq": true,
"ipam": {
"ranges": [
[
{
"gateway": "10.89.0.1",
"subnet": "10.89.0.0/24"
}
]
],
"routes": [
{
"dst": "0.0.0.0/0"
}
],
"type": "host-local"
},
"isGateway": true,
"type": "bridge"
},
{
"capabilities": {
"portMappings": true
},
"type": "portmap"
},
{
"backend": "iptables",
"type": "firewall"
}
]
}
]