Docker Community Forums

Share and learn in the Docker community.

Access virtual hosts from local Docker container

Hi All,

New to Docker. I understand I can use host.docker.internal to access my machine’s localhost from within a locally running Docker container.

My issue is I need to access a virtual host I have set up in wamp with Apache (e.g. http://dev.local ) from within the Docker instance. Is there any way to do this?

The use case is for local development. And I am on Windows 10