Docker Community Forums

Share and learn in the Docker community.

Docker stack container cannot reach LAN (AD) - help

(Xoroz) #1

Continuing the discussion from Container port unreachable from host though mapped/exposed:

thanks for the reply.

I guess it was something related to that OS.
With rancherOS it works fine and I can access my container from outside.

now I am having a different problem where I can not access the outside (LAN)
and I am unable to add route to the container .

Our OTRS container must talk to the Active Directory. But there is no route to it. The HOST (RancherOS) can without any problems.

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface UG 0 0 0 eth1 U 0 0 0 eth2 U 0 0 0 eth0 U 0 0 0 eth1
[root@20fa47ba3e33 otrs]# route add -net netmask gw

SIOCADDRT: Operation not permitted

two weeks now trying to make docker stack work!
very very frustrating

lack of information and lack of good examples out there.

I am starting to wonder how many people do have this in real complex production…