I have a docker container and I want to give it --network=host
AND --network=postgres
.
I need to connect to the host network in order to use the host datadog server (UDP) and the postgres
network for its database.
Trying to add both network results in docker: conflicting options: cannot attach both user-defined and non-user-defined network-modes.
.
Any idea what's the correct way to handle this?