Level 4 Docker - Resolve Dockerfile Issues

I have had the same problem also with level-2 task-5 “write a dockerfile”. (level-1 task-1 && task-2 as well)
I have used tcpdump and I have seen the problem is: the docker pull makes http request but docker buildx build makes https request which times out.

Hi @raymond.baoly, is there an issue with this task (Docker level 4 - Task 1)?

Hi Srikanth_Reddy,

The team are fixing the Docker level 4 | Task 1 and Task 2. I’ll keep you update.

Hi jakabk,

I just checked, and there is no issue with Level 2 Task 5. The Ubuntu image can be pulled successfully.

On my site the error exists yet:

Hi Jakabk,

Thanks for your detailed feedback. I’ve forwarded Docker Level 2 | Task 5: Write a Dockerfile as well. It will be reviewed and fixed.

1 Like

Hi @raymond.baoly,

Is there any update on docker level 4 tasks?

Hi @raymond.baoly,
I suppose the issue with Docker level 4 tasks has been resolved. I was able to finish those tasks.

Hi @Srikanth_Reddy,

Thanks for verifying and confirming. Let me know if there are any issues.

No issues in Docker tasks, but can you check this topic?
There is some issue with Azure level 3 - task 9, that I’ve detailed in that topic.

Noted it, I’ll check it.

Hi guys,

We can build the Docker now. Please try again.

@raymond.baoly - looks the issue still exits, getting same error when I try build the image. can you please check. Thanks.

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:cd88fee4eab37f0d8cd04b06ef97285ca981c27b4d685f0321e65c5d4fd49357?ns=docker.io”: dial tcp 10.0.0.6:443: i/o timeout

Hi @Kumar_m,

I just checked, and it’s working fine for me. Could you try again and let me know if the issue is still there?

Hi @raymond.baoly - Still getting the same error when I try building the image using Dockerfile.
I don’t get the error when I pull base image outside of dockerfile and build the image.

Hi @Kumar_m,

I’m still not able to reproduce the issue on my end. If you run into it again, please use the Feedback button to send a recorded screenshot or video to the team.

@raymond.baoly - I was able to complete the task now.

Thanks for your prompt responses.

Hi @raymond.baoly,

i am observing the same problem in 100 days of DevOps - Day 45. please help to check.

[root@stapp03 docker]# docker build -t httpd:latest .
[+] Building 91.5s (2/2) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 557B 0.0s
=> ERROR [internal] load metadata for Docker Hub Container Image Library | App Containerization 91.5s

[internal] load metadata for Docker Hub Container Image Library | App Containerization


Dockerfile:1

1 | >>> FROM httpd:2.4.43
2 |
3 | RUN sed -i “s/Listen 80/Listen 8080/g” /usr/local/apache2/conf/httpd.conf

ERROR: failed to build: failed to solve: 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

Hi @Venkata_Pavan

I couldn’t reproduce this issue on my end. Could you please try again? If it fails, please try building it once more.

Thanks @raymond.baoly not sure what’s changed. This time it worked at the first try.

1 Like