I spent a few hours digging the Docker network stack to get this :
In fact, I do not reproduce your issue. Analysing local URLs is possible and feasible. But there is a trick do to Docker way of dealing with network.
Grab the IP of your
docker0 interface, and use it as the URL to analyse. This way you analyse the website served by your local Apache (or whatever webserver).
To find this IP address, just run
To troubleshoot your issue, I need to know how
mysite.local is resolved. Said differently, where is your web server ? I assume on your machine, i.e. the host of the Docker image. Now how is it configured, is
mysite.local bound to 127.0.0.1 or another IP ? If another IP, is this IP attached to your host ? And is it the only IP address of your host ?
Could you share the result of:
- and if possible
dig -t any mysite.local
My point is : you may have a complex DNS configuration that may not be related to an Asqatasun issue
PS: on peut aussi passer en français, pour cela il faut faire “Reply as Linked Topic” à droite de l’âge du message (afin de ne pas mélanger les langues dans un fil de discussion)