Docker Community Forums

Share and learn in the Docker community.

Windows Host Mappings


(Leesy) #1

Anyone know if there are any plans for Docker to be able to expose the hostname’s of the containers to Windows? Or should it already?

I’m setting up a MongoDB replica set on my machine & I’ve got 3 MongoDB instances running in a container each with a set hostname. During development of an API, I’d want my local IDE to point to this replicaset. At the moment I can achieve this by exposing ports on the each individual container. But the setup is moving further & further away from a live setup.

Lee,