Previous mwdd implementations managed the system hosts file in an automatic way for users.
Browsers already mainly resolve the *.localhost domains correctly.
Though command line tools etc do not, and need this extra system poke.
The sync file was https://github.com/addshore/mediawiki-docker-dev/blob/v1/hosts-sync in the v1 branch