Hi – I’m having difficulty with using the host network driver.
I have a networks
section at the end of my docker-compose.yml
file:
version: "3"
services:
...
networks:
default:
driver: host
However, when I try to run this with docker-compose up
I get this error:
Creating network “0_dev_default” with driver “host”
ERROR: only one instance of “host” network is allowed
There aren’t any other containers running when I do a docker ps
or anything.
Can anyone advise me on what I’m getting wrong?
Thanks for any and all assistance,
Doug.