I'm aware of this approach but I was already able to run Docker fine using the "traditional" way.
Basically, I installed Docker in 3 layers:
- Docker (Container living inside of Vagrant/CentOS)
- Vagrant (CentOS) (Guest OS on Windows 7)
- Windows 7 ("Mother" Host OS)
I can access a Docker container instance on the host OS (Windows) just fine via <vagrant IP>:<port>
e.g., 192.168.1.200:9000
.
How can I map this ip:port
combination on the Windows hosts file so I can access the docker container via docker-app.test
? E.g., Putting 192.168.1.200:9000 docker-app.test
on the hosts file doesn't work.
I'm also open to other ideas to achieve what I'm trying to do.