Skip to content

--dns is ignored when --net=host #7326

Closed

Description

@keyki

It seems that docker is ignoring the --dns option when the --net=host is specified and using the host's name resolution. Is it possible to use the container's dns service instead of the host when using net=host?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions