Docker build “Could not resolve 'archive.ubuntu.com'” apt-get fails to install anything

后端 未结 15 2124
日久生厌
日久生厌 2020-11-28 17:45

I\'ve been trying to run Docker build on various files which previously worked before, which are now no longer working.

As soon as the Docker file included any line

15条回答
  •  感情败类
    2020-11-28 18:26

    Before spending too much time on any of the other solutions, simply restart Docker and try again.

    Solved the problem for me, using Docker Desktop for Windows on Windows 10.

提交回复
热议问题