Unlike Linux on MacOS Docker runs inside VM. This causes issues when trying to access containers directly as their IP is not reachable from host network. It is especially annoying when trying to get a local development environment for K8s.
This short guides aim to solve the problem. Solution is: https://github.com/chipmk/docker-mac-net-connect