I have a daemon on my host running on some port (i.e. 8008) and my code normally interacts with the daemon by contacting localhost:8008 for instance.
I\'ve now conta
docker run -d --name -p 8008:8008
That will publish port 8008 in your container to 8008 on your host.
8008