DEV Community

Discussion on: Access host from a docker container

Collapse
 
qoomon profile image
Bengt Brodersen

I created a docker container for doing exactly that github.com/qoomon/docker-host

you can then simply use container name dns to access host system e.g.

curl http://dockerhost:9200