yeswework / fabrica-dev-kit

A toolkit for faster, smoother WordPress 5 development
https://fabri.ca/
MIT License
274 stars 27 forks source link

[how-to] Mac OS and docker-machine #18

Closed stefanorg closed 7 years ago

stefanorg commented 7 years ago

Hi, on osx, i use the docker-machine to start the docker deamon. The fabrica setup use localhost by default, there's a way to change the string "localhost" to use the ip or the dns local name (/etc/hosts) of the dev machine for example "fabrica.dev.local" setting that local dns in /etc/hosts

thanks.

tiojoca commented 7 years ago

Hi @stefanorg, this is something we'd love to do but unfortunately macOS' version of Docker does not allow us to set custom IP addresses to containers. We would need this to attribute the custom hostname in /etc/hosts.