Skip to content

/etc/resolv.conf in container does not have search domains from host Mac #3057

@keepsimple1

Description

@keepsimple1

20180705-142452.tar.gz

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID: 75D348B2-67FD-4EDF-A24F-4EC1A6C57D91

Expected behavior

/etc/resolv.conf file in Docker container has the search domain line (e.g. "search <...>") inherited from the host (Mac).

Actual behavior

/etc/resolv.conf file in Docker container has no search domain line.

Information

  • macOS Version: 10.13.5

Diagnostic logs

Docker for Mac: version: 18.03.1-ce-mac65 (dd2831d4b7421cf559a0881cc7a5fdebeb8c2b98)
macOS: version 10.13.5 (build: 17F77)
logs: /tmp/75D348B2-67FD-4EDF-A24F-4EC1A6C57D91/20180705-142452.tar.gz
[OK]     vpnkit
[OK]     vmnetd
[OK]     dns
[OK]     driver.amd64-linux
[OK]     virtualization VT-X
[OK]     app
[OK]     moby
[OK]     system
[OK]     moby-syslog
[OK]     kubernetes
[OK]     files
[OK]     env
[OK]     virtualization kern.hv_support
[OK]     osxfs
[OK]     moby-console
[OK]     logs
[OK]     docker-cli
[OK]     disk

Steps to reproduce the behavior

  1. Make sure host Mac has "search domains" set in Network Preferences.
  2. docker run <...>
  3. Check /etc/resolv.conf for the line starting with "search " .

Metadata

Metadata

Assignees

No one assigned

    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