Jump to content

Docker (software): Difference between revisions

Line 152: Line 152:


==Accessing the Host==
==Accessing the Host==
See [https://github.com/qoomon/docker-host docker-host] for a container which can access the host.   
Sometimes you may have services running on the host which you want to access from a container.<br>
See [https://github.com/qoomon/docker-host docker-host] for a container which can access the host.<br>  
Add the following to your docker compose to expose port 8201 to other containers:
Add the following to your docker compose to expose port 8201 to other containers:
<syntaxhighlight lang="yaml">
<syntaxhighlight lang="yaml">