I work with around 10-12 developers all of which work on different development environments, predominantly featuring either MAMP or Nginx/php-fpm managed via brew. We would like to perform a very gradual move to Docker, trialing it for development on one of our many products before committing.
The issue we face in this scenario is how to avoid TCP port clashes whilst ruing MAMP, Nginx etc concurrently with Docker. Having our development environments listening on standard ports (in this scenario 80, 443 and 3306) is critical and right now we find ourselves having to tu local server environments on and off depending on the project being worked on.
By default docker maps ports to the host container on 0.0.0.0, is there a way to alter this behavior allowing the various server environments to listen to the same port concurrently by using different IP addresses?
Thanks!
