As the error message states: It can’t connect to the internet.
This usually means:
• You aren’t connected to the internet
• You connect to the internet through an http(s) proxy.
kind-author-90591
02/15/2024, 7:10 PM
Until you’ve addressed that connectivity issue, you won’t be able to build Docker images.
• The first step in building a docker image is the
FROM
directive, which is where you start with a Docker “base image” - and Docker downloads the base image from the Internet.