Docker: access host database from container on Mac

With things like homebrew you kind of forget that you’re not on Linux, and some things might actually work differently. Trying to connect to a host database server from the container using 172.17.0.1 didn’t work out. After few hours, figuring out that everything’s setup right, you’re not going crazy, you stumble upon this note: The host has a changing IP address (or none if you have no network access). From 18....

June 29, 2019 · 1 min · anvyst