This guide prepares your mac so you can access your docker containers by their docker-compose project name. So if you have a container with the label com.docker.compose.project=myapp
running you will be able to access it on the url myapp.docker
.
This guide assumes that you are already have a working dnsmasq setup on your mac. The follwing command resolves to 127.0.0.1:
dig @localhost myapp.dev