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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!