[SOLVED] Unable to connect docker container to docker conatiner

hlcus

New Member
Aug 11, 2024
11
0
1
Hello all,
i've a advance problem to connect form docker container to docker container inside a CT.

Setup:
Vlan 1 - only for working stations
Vlan 2 - only for docker container
Vlan 3 - only for testing
CT with docker server and portainer inside VLan 2 (IP xx.xx.10.10)
docker container inside VLan 2 (IP xx.xx.10.20)
docker container inside VLan 3 (IP xx.xx.20.20)
Laptop inside VLan 1 (IP xx.xx.0.10)

Turn off Firewall on:
promox instance
node instance
container instance

What is working:
Access Laptop (IP xx.xx.0.10) to docker server inside VLan 2 (IP xx.xx.10.10)
Access Laptop (IP xx.xx.0.10) to docker container inside VLan 2 (IP xx.xx.10.20)
Access Laptop (IP xx.xx.0.10) to docker container inside VLan 3 (IP xx.xx.20.20)
Access docker container inside VLan 3 (IP xx.xx.20.20) to docker container inside VLan 2 (IP xx.xx.10.20)

What is not working:
ping Laptop (IP xx.xx.0.10) to docker server inside VLan 2 (IP xx.xx.10.10)
ping Laptop (IP xx.xx.0.10) to docker container inside VLan 2 (IP xx.xx.10.20)
ping docker server inside VLan 2 (IP xx.xx.10.10) to docker container inside VLan 2 (IP xx.xx.10.20)
access docker server inside VLan 2 (IP xx.xx.10.10) to docker container inside VLan 2 (IP xx.xx.10.20)

I propose, there is a firewall problem inside the promox enviornment.
 
Hi, there a routing problem, no firewall.
Follow this video
After you can ping your subnet, you can install docker
Configure vlan on proxmox
Thanks!
The tutorial works perfekt, as well before.
The routing form a docker container (own ip address ) to another docker container (own ip address) on the same Proxmox Container doesn't work.