Docker Community Forums

Share and learn in the Docker community.

Why is -- dns not respected when --net is used?

I run into a problem where --dns is not respected when I use --net in a docker run.

Why is this and how to work round it if possible ?