I added sample docker-compose content to the README file. I typically don't use the docker run command that much and use docker-compose more frequently, especially when running multiple containers in combination. This compose file works for me, took me some time to figure out that the network_mode should be set to bridge for it to work. Seems that is not the default on docker-compose and the resolv.conf file was not updated with the dns servers listed in the compose file. When using docker run that seems to be the default and everything just works. Hopes this can also help others.
I added sample docker-compose content to the README file. I typically don't use the docker run command that much and use docker-compose more frequently, especially when running multiple containers in combination. This compose
file
works for me, took me some time to figure out that thenetwork_mode
should be set tobridge
for it to work. Seems that is not the default on docker-compose and the resolv.conf file was not updated with the dns servers listed in the compose file. When using docker run that seems to be the default and everything just works. Hopes this can also help others.