So you faced that your hosts doesnt loads up after launching Docker image as regular, right?
For some reason, Docker adds 'his' section for hosts file under Windows/system32/drivers/etc/hosts file and ruins everything what was there before.
All you need to do is to add previously added hosts which you were using, like so:
127.0.0.1 your.local.development.domain.com
Save and close.
Now you are ready to go.