Docker for Mac - IP change to "None" after update

Hi,

If the IP address shows up as “None” it means the VM failed to connect to the Apple “vmnet.framework”. There is currently a workaround: switch to exposing ports on localhost rather than docker.local:

pinata set native/port-forwarding true

This will reboot the VM, and then ports will be exposed on localhost on the Mac instead of docker.local e.g. “docker run -p 8080:80 nginx” will expose “nginx” on “http://localhost:8080/” instead of “http://docker.local:8080/

Let me know if this works for you (or not)

HTH,
Dave

7 Likes