Skip to content

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

@keyki

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?

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