Open realSConway opened 1 year ago
Small update, I managed to get tap0
.
slirp4netns --configure --mtu=65520 --disable-host-loopback $(cat /tmp/pid) tap0
sent tapfd=5 for tap0
received tapfd=5
Starting slirp
* MTU: 65520
* Network: 10.0.2.0
* Netmask: 255.255.255.0
* Gateway: 10.0.2.2
* DNS: 10.0.2.3
* DHCP begin: 10.0.2.15
* DHCP end: 10.0.2.30
* Recommended IP: 10.0.2.100
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: tap0: <BROADCAST,UP,LOWER_UP> mtu 65520 qdisc pfifo_fast state UNKNOWN group default
qlen 1000
link/ether 02:47:f7:48:9f:02 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.100/24 brd 10.0.2.255 scope global tap0
valid_lft forever preferred_lft forever
inet6 fe80::47:f7ff:fe48:9f02/64 scope link
valid_lft forever preferred_lft forever
Where should I be running podman-compose up
from? If I open a new Terminal, I still get same error and from Terminal 1 I get:
Error: creating runtime temporary files directory: mkdir /run/libpod: permission denied
Hello experts,
I'm having issues getting two containers reach each other with rootless podman-compose. Tested using a simple test compose file.
Reference links and my findings. https://github.com/containers/podman/blob/main/docs/tutorials/basic_networking.md, (also tried using $host IP, in compose file) https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md https://github.com/rootless-containers/slirp4netns#usage, (at step Make sure the
tap0
is configured and connected to the Internet, i have notap0
interface )slirp4netns --version
podman-compose
file:Output
podman-compose up
:What did I miss how can I get container1 to ping container2? Thank you for your time.