Mac OS – Docker Port Forward

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

  1. Open the virtualbox GUI tools
  2. Configure port forward from your mac os to your container 8080 to 80



Browse localhost



Mac OS – Docker Port Forward

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.