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
Port Forward
- Open the virtualbox GUI tools
- Configure port forward from your mac os to your container 8080 to 80
Browse localhost
Mac OS – Docker Port Forward