Network setup? Cannot reach docker container from VM.

QNAP NAS solution for server virtualization and clustering/HA/FT
Post Reply
cameo
Starting out
Posts: 29
Joined: Fri Aug 14, 2015 1:09 am

Network setup? Cannot reach docker container from VM.

Post by cameo »

Hi, I have a question regarding the networking between docker containers running in container station and VMs running on Virtualisation Station.

So in short my question is, how can I access a service running in container station from within a VM running on Virtualisation Station?

Issue:
The issue is, that I cannot connect from within the VMs (running different versions of Windows) to the docker containers that offer services (mostly http) on various ports.
The stupid thing is that I think it worked at some point in the past, but since I do not use this very often I am not 100% sure about it.

Setup:
NAS: TS-1677X
Firmware version: QTS 5.0.1.2346
LAN: 192.168.0.0/24
NAS IP (there are multiple but picked one): 192.168.0.177 (got IP from DHCP pool)
Docker container offers http service on port 11080: http://192.168.0.177:11080 is accessible from LAN and shows website
VM IP: 192.168.0.192 (uses bridging and get's IP from DHCP pool)


I can access the NAS management site at https://192.168.0.177/cgi-bin/ from within the VMs (from LAN too of course), but if I try to access something that is provided from a container it does not work.
Similarly, I can access SMB shares on the NAS directly from the VMs.

E.g. http://192.168.0.177:11080 works from all my LAN, but If I try it from within the VMs it is not reachable.


I found a workaround by installing WireGuard within the VM's Windows guest and connecting to QVPN on the same NAS, but there must be a simpler solution than that.

If you need more details about the setup please let me know.
cameo
Starting out
Posts: 29
Joined: Fri Aug 14, 2015 1:09 am

Re: Network setup? Cannot reach docker container from VM.

Post by cameo »

Similar post, but older and unfortunately without solution: viewtopic.php?f=354&t=147562&p=775262#p775262
Post Reply

Return to “Server Virtualization & Clustering”