containers / containers/podman-compose

Rhel7.9 and Podman 1.6.4 - Not able establish the connections between rootful containers

Open
#611 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
6.2k
Forks
622
PR merge metrics
No merged PRs in 30d

Description

Hi,

I tried creating the podman network and ran the pod run command for containers, I am missing something basics with podman 1.6.4. IT WORKS WITH DOCKER PERFECTLY FOR BELOW COMMANDS WHEN REPLACED WITH PODMAN TO DOCKER
a) Creating the network,
sudo podman network create demo
b) I am running 3 containers in this network
Sudo podman run -d -network demo -name -p -e
c) Checked the Sudo podman network inspect demo it defaults bridge type. DO I NEED TO DO PORT MAPPING or ROUTE THE TRAFFIC IN IPTABLES?
sudo podman network inspect sitespeed
[
{
"cniVersion": "0.4.0",
"name": "sitespeed",
"plugins": [
{
"bridge": "cni-podman1",
"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": "",
"type": "firewall"
}
]
}
]

Can someone help here?Guide me pls

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.