UPDATE :
Manage to get it working with docker run --add-host=myapp1.test:host-gateway
Had some trouble getting my docker app fetching the data correctly because it's a secure link with unverified certificate, but
wget --no-check-certificate https://myapp1.test:443/
worked from inside the container!