When using MacOSX and Docker you currently need Docker Machine. A problem that you’ll run into very soon is port forwarding. For example when starting tomcat:
1 |
$ docker run -it --rm -p 8888:8080 tomcat:8.0 |
This expose tomcat on port 8888 on the host and maps it to port 8080 in the container. So you should be able…