Image is not getting pulled from KodeKloud hosted docker repo

Task Details:

The Nautilus DevOps team is working to create new images per requirements shared by the development team. One of the team members is working to create a Dockerfile on App Server 3 in Stratos DC. While working on it she ran into issues in which the docker build is failing and displaying errors. Look into the issue and fix it to build an image as per details mentioned below:
a. The Dockerfile is placed on App Server 3 under /opt/docker directory.

b. Fix the issues with this file and make sure it is able to build the image.

c. Do not change base image, any other valid configuration within Dockerfile, or any of the data been used — for example, index.html.

Note: Please note that once you click on FINISH button all existing images, the containers will be destroyed and new image will be built from your Dockerfile.


When I am pulling the image using docker pull httpd:2.4.43 it is working but when I am building the image it gives me the below error

ERROR: failed to solve: DeadlineExceeded: DeadlineExceeded: DeadlineExceeded: httpd:2.4.43: failed to resolve source metadata for Docker Hub Container Image Library | App Containerization failed to copy: httpReadSeeker: failed open: failed to do request: Get https://docker-registry-mirror.kodekloud.com/v2/library/httpd/manifests/sha256:53729354a74c9c146aa8726a8906e833755066ada1a478782f4dfb2ea6994b5d?ns=docker.io: dial tcp 10.0.0.6:443: i/o timeout

When I manually pull the image and build it, it is successfully built. But when I try to submit the task it fails saying we are not able to build the image using the docker file.

I tried searching for solutions one thing I got is to change the registry mirror and ask docker to use default docker registry to pull the image but I am not sure if that’s the solution to the problem

Hi @gpj045 ,

Please give it a try again. It should work now.

Regards,

Hi Tej,
I am still facing the same issue.
failed to solve: DeadlineExceeded: DeadlineExceeded: DeadlineExceeded: python:3.13.0b1-slim-bullseye: failed to resolve source metadata for Docker Hub Container Image Library | App Containerization failed to copy: httpReadSeeker: failed open: failed to do request: Get “https://docker-registry-mirror.kodekloud.com/v2/library/python/manifests/sha256:6efce108697ffabf20924c157d5f08bc41550aca27a04d5df871f8889d405262?ns=docker.io”: dial tcp 10.0.0.6:443: i/o timeout

The task is successfully submitted now, the image was pulled successfully from the registry.
Thanks