Where is the target system located on the network? By default, Docker containers can access the internet but cannot reach other hosts on the local network. This happens due to network isolation mechanisms implemented by Docker for security and operational control. To enable LAN access you need to enable macvlan
support. However, the underlying host would be able to access the local network IP addresses under normal circumstances. So, that may be one cause of the issue.
Scan around the forum and you will find some posts about configuring this such as this post .