Ok, so I’ve got it working again. So I tried curl
ing the IP instead of docker.local
and that works like it’s supposed to.
That basically leaves me with one problem, the responses are still slower then what machine on top of fusion does. These are some timings from the login page of the aforementioned Django app:
curl http://192.168.64.3:8001/login > /dev/null 0.00s user 0.00s system 1% cpu 0.738 total
curl http://172.16.75.128:8001/login/ > /dev/null 0.00s user 0.00s system 3% cpu 0.240 total
The former one is docker for mac, the latter one is machine on top of fusion. As you can see it is quite a difference. The thing that sticks out to me is the fact that CPU utilisation jumps to 100% on docker for mac (com.docker.driver.amd64-linux
), while the fusion process uses virtually 0% CPU.