This article demonstrate how to run docker container and using localhost connect to your container in mac os environment.
First run a nginx container
Browse to localhost
- Open the virtualbox GUI tools
- Configure port forward from your mac os to your container 8080 to 80
Mac OS – Docker Port Forward