Docker Toolbox – Localhost not working

Docker Toolbox doesn’t get as many conveniences as Docker for Windows, but you’re correct in using it since you’re on Home edition.

In Toolbox, nothing will be localhost, and will be 192.168.99.100 by default, since it’s running a Linux VM in VirtualBox.

So if you run docker run -p 80:80 nginx

(notice I had to publish a port for 192.168.99.100 to listen on that port)

Then going to http://192.168.99.100 should work.

Leave a Comment