Skip to content

ndots issue on daemon config for services #1988

Description

@fcrisciani

If the dns options is specified in the daemon.json like:

{
  "debug" : true,
  "dns-opts" : [
    "ndots:1"
  ],
  "experimental" : true
}

If a service is launched on a network like:
docker service create --network net1 alpine top

the resolv.conf results in:

options ndots: 2 ndots:0

Looks like the daemon config is ignored and the ndots:0 is appended blindly

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