I have issues reaching my docker container from external.
My current/old WORKING setup is:
Docker network is defined in compose file like:
For reasons the server app gets a different sub net address than the rest. With appropriate routing rules (`192.168.12.0/24 via 192.168.11.9 dev ...`) on clients this worked fine for years.
Now I am trying to move the host to proxmox, with a new configuration like this:
While everything else stays the same, now
Any idea to fix the setup or at least do further research?
My current/old WORKING setup is:
Code:
Server app Docker host Clients
docker container <-> Ubuntu on bare metal <-> Linux/Win bare metal
192.168.12.2 192.168.11.9 192.168.11.[80-159]
Docker network is defined in compose file like:
Code:
networks:
domain-net:
ipam:
driver: default
config:
- subnet: 192.168.12.0/24
gateway: 192.168.12.1
ip_range: 192.168.12.0/24
services:
...
networks:
domain-net:
ipv4_address: 192.168.12.2
For reasons the server app gets a different sub net address than the rest. With appropriate routing rules (`192.168.12.0/24 via 192.168.11.9 dev ...`) on clients this worked fine for years.
Now I am trying to move the host to proxmox, with a new configuration like this:
Code:
Server app Docker host Client
docker container <-> Debian VM <-> Linux Mint bare metal
192.168.12.2 192.168.11.9 192.168.11.87 [80-159]
---- on -----
proxmox
192.168.11.8
While everything else stays the same, now
- I can NOT ping the server app from clients - I do not even get error messaged or "not reachable"
- But I can ping the client from the server app container (!!)
- On the client I can ping proxmox, the dockerhost and the gateway (192.168.12.1)
- On the docker host I can ping both app and client
- On proxmox (while irrelevant for me) I have the same situation as on the client
- Forwarding is activated on docker host.
- Routing is properly defined on clients (on proxmox and dockerhost it's set up automatically)
- Firewalls are off on all systems
Any idea to fix the setup or at least do further research?
Last edited: