本記事は Docker Toolbox を対象としています。Docker for Windows は対象外 Docker が build できない webアプリ開発のためテストサーバを docker 上にビルドしようとしたら失敗した。 Step 10/11 : RUN cd app && yarn install ---> Running in d36ecd97329b yarn install v1.22.4 [1/4] Resolving packages... [2/4] Fetching packages... error An unexpected error occurred: "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz: getaddrinfo EAI_AGAIN registry.yarnpkg.com".
![yarn install に失敗する "getaddrinfo EAI_AGAIN registry.yarnpkg.com" - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/9827f8b1a2ae212ab3b9b3915c49a057c348328e/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-412672c5f0600ab9a64263b751f1bc81.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9eWFybiUyMGluc3RhbGwlMjAlRTMlODElQUIlRTUlQTQlQjElRTYlOTUlOTclRTMlODElOTklRTMlODIlOEIlMjAlMjJnZXRhZGRyaW5mbyUyMEVBSV9BR0FJTiUyMHJlZ2lzdHJ5Lnlhcm5wa2cuY29tJTIyJnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9NTYmcz0xZWEyYWE1YzlmZDJhMDYwOGNkM2JjNDQ2MGM2NjFmZg%26mark-x%3D142%26mark-y%3D57%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9NzcwJnR4dD0lNDBTZW8tNGQ2OTZiNzUmdHh0LWNvbG9yPSUyMzIxMjEyMSZ0eHQtZm9udD1IaXJhZ2lubyUyMFNhbnMlMjBXNiZ0eHQtc2l6ZT0zNiZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZzPTA5YjlmOTU3YjdhMGE0ZjliNjgxZmUzZTRiMTUyMDY1%26blend-x%3D142%26blend-y%3D486%26blend-mode%3Dnormal%26s%3Dabf728ad2c5ecb097f362cc0a5681216)