red-whale-92071
02/18/2021, 11:08 AMphp_network_getaddresses: getaddrinfo failed issue while docker/sdk bootstrap deploy.dev.yml on WSL2?
=> [stage-0 4/10] COPY --chown=spryker:spryker composer.json composer.lock /data/ 0.1s
=> ERROR [stage-0 5/10] RUN --mount=type=cache,id=composer,sharing=locked,target=/home/spryker/.composer/cache,uid=1000 composer install --no- 36.9s
------
> [stage-0 5/10] RUN --mount=type=cache,id=composer,sharing=locked,target=/home/spryker/.composer/cache,uid=1000 composer install --no-interaction --optimize-autoloader --no-dev:
#12 0.688 Loading composer repositories with package information
#12 0.694 Installing dependencies from lock file
#12 0.713 Package operations: 7 installs, 0 updates, 0 removals
#12 0.717 - Installing spatie/macroable (1.0.0): Downloading (failed)
#12 6.229 Downloading (failed)
#12 11.74 Downloading (failed) Failed to download spatie/macroable from dist: The "<https://api.github.com/repos/spatie/macroable/zipball/74b0d189ce75142f1706aad834d5a428dfc7c3c3>" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Try again
#12 16.74 failed to open stream: php_network_getaddresses: getaddrinfo failed: Try again
#12 16.74 Now trying to download from source
#12 16.74 - Installing spatie/macroable (1.0.0): Cloning 74b0d189ce
#12 36.81
#12 36.81
#12 36.81 [RuntimeException]
#12 36.81 Failed to clone <https://github.com/spatie/macroable.git> via https, ssh protocols, aborting.
#12 36.81
#12 36.81 - <https://github.com/spatie/macroable.git>
#12 36.81 Cloning into '/data/vendor/spatie/macroable'...
#12 36.81 fatal: unable to access '<https://github.com/spatie/macroable.git/>': Could not resolve host: <http://github.com|github.com>
#12 36.81
#12 36.81 - git@github.com:spatie/macroable.git
#12 36.81 Cloning into '/data/vendor/spatie/macroable'...
#12 36.81 ssh: Could not resolve hostname <http://github.com|github.com>: Try again
#12 36.81 fatal: Could not read from remote repository.
#12 36.81
#12 36.81 Please make sure you have the correct access rights
#12 36.81 and the repository exists.
#12 36.81
#12 36.81
#12 36.81 install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
#12 36.81
------
executor failed running [/bin/sh -c composer install --no-interaction --optimize-autoloader --no-dev]: exit code: 1average-branch-45579
02/18/2021, 11:13 AMhappy-addition-42792
02/18/2021, 11:23 AMred-whale-92071
02/18/2021, 11:36 AMred-whale-92071
02/18/2021, 11:39 AM/etc/hosts file seems to consist of incorrect IPs for host.docker.internal and gateway.docker.internal.
Do you know what IPs should be used there?red-whale-92071
02/18/2021, 11:40 AM/etc/resolv.conf files?red-whale-92071
02/18/2021, 1:22 PM