Container connecting to an external computer in the network

As the title says. I have an Music Player and a Music Library Manager in my expandable Docker Host, but for storage constraints, the database and files reside outside the host, inside another machine (NAS) of the same network.

I've setup static IP for those for obvious reasons, but while the container has access to the router with DHCP for Internerds (, and a ping to there works, a ping to doesn't works (Host) and neither (NAS). So I can't reach the database nor the files.

What should I do to successfully connect the container to the external machine?

submitted by /u/DarkGhostHunter
[link] [comments]
Source: Reddit