Skip to content
This repository was archived by the owner on Jul 7, 2020. It is now read-only.
This repository was archived by the owner on Jul 7, 2020. It is now read-only.

DNS resolution whilst building containers fails quite often #130

@kierenevans

Description

@kierenevans

$daemonArguments = '-H unix:///var/run/docker.sock --bip=172.17.42.1/16 --dns=172.17.42.1';

The above --dns flag leads to a lot of failures in DNS resolution when building or upping containers, for example @rocketage had the following error recently:

  [Composer\Downloader\TransportException]
  The "https://packages.firegento.com/packages.json" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
  failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

and I have had very similar issues.

We could potentially rely on the virtualbox DNS resolver which will defer to the host's configuration.

Since removing the --dns flag locally, my DNS issues have stopped occurring.

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