title: Connecting to localhost mysql server from inside docker container on macOS
body: <p>How can I connect to localhost mysql server from a docker container on macOS ? 
  One way to do it using --add-host but that requires me to pass some name like "myhost".
  Is there any way in macOS so that references to localhost from inside docker container actually refer to docker host  ?</p>