Skip to content

docker -d -dns #759

@shykes

Description

@shykes

Currently 'docker run -dns' can be used to override the dns configuration passed to the container.
Typically this is necessary when the host dns configuration is invalid for the container (eg. 127.0.0.1).
When this is the case the -dns flags is necessary for every run.

Instead of having to pass this flag at every run, it would be better to specify it once to the daemon, eg.

$ sudo docker -d -dns 8.8.8.8
$ docker run busybox echo I feel better already

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions