That between restarts the ip of docker.local host ip stays the same.
Keep’s chaning ie 192.168.64.5 then 192.168.64.6 etc
This isn’t a bug but I can see it confusing people especially people who are learning.
The main reason being that unless a user knows how to set something up that does a cname they will have to manually edit /etc/hosts or something similar to point a dns entry at docker.local. I.e dev.example.com.
Then change it each time it changes.