My docker-compose.yml
looks like this:
my_app:
build: .
net: host
command: bin/server
ports:
- "3001:3001"
I start the service like this:
docker-compose up
And I can see that it is running:
my_app_1 | * Listening
But I can't figure out how to access it. None of these work:
localhost:3001
docker-machine:3001
127.0.0.1:3001
0.0.0.0:3001
How can I access my Docker service?