Skip to content

--dns* flags are inconsistent with docker #4379

Open
@apostasie

Description

@apostasie

Description

Discussed in #4378

cc @swagatbora90

Steps to reproduce the issue

docker run -ti --dns="" debian cat /etc/resolv.conf
nerdctl run -ti --dns="" debian cat /etc/resolv.conf

Describe the results you received and expected

Consistent behavior.
Nerdctl should validate the content of explicitly passed --dns* flags.

What version of nerdctl are you using?

main

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions