Is your feature request related to a problem? Please describe.
NPM seems to ignore the /etc/hosts file, so it's impossible to use a concise name for your proxy Hosts Forward Hostname / IP. That would be very helpful in a setup where the forward hosts are not docker containers, or on a different docker host.
Describe the solution you'd like
Please make NPM resolve addresses in the /etc/hosts file, so with the following addition to the Docker-Compose file, we could use synonyms for hosts IP addresses:
extra_hosts:
- "host1:10.0.0.1"
- "host2:10.0.0.2"
This adds hosts to the containers internal /etc/hosts file.
Best wishes
Adrian