Docker Issue : Unable to checkout image

docker pull helloworldcontainers/java-spring-boot-hello-world

Using default tag: latest

Error response from daemon: Get “https://registry-1.docker.io/v2/”: writing response to registry-1.docker.io:443: connecting to 127.0.0.1:1080: dial tcp 127.0.0.1:1080: connectex: No connection could be made because the target machine actively refused it.

enter image description here

enter image description here

enter image description here

I have tried many things but problem not resolved yet.

  • Worked fine for me so I suspect it is a local configuration issue or you’re being blocked due to regional restrictions. Where are you?

    – 

  • I am from Pakistan. Docker was working fine. I have installed virtual box after that it is not working. I have uninstalled virtual box and then re-installed Docker properly but not working now.

    – 




  • Sounds like a networking or firewall issue, I’m not sure this is the place where you’re going to get the most appropriate help. Maybe try SuperUser but you’ll need to provide more information about what working/not working mean, what changes you made to virtual box, etc.

    – 

There are multiple issues that could lead to the error you encountered:

  1. Check Docker Daemon Status:

    • First, verify if the Docker daemon is running by executing the following command:
      docker info
      

    If the Docker daemon is not running, you should start it.

  2. Review Network Configuration:

    • Ensure that your Docker network settings are correctly configured. Docker should be able to connect to the internet without proxy configurations unless you are behind a corporate firewall.
  3. Restart Docker Daemon:

    • After making any necessary changes to your Docker configuration, restart the Docker daemon to apply those changes. You can do this with the following command:
      sudo systemctl restart docker
      
  4. Make Sure you login in the docker desktop and docker hub:

    • If you are using Docker Desktop and suspect login issues, ensure you are logged in to Docker Desktop using command
      docker login
      before attempting to pull the image.

In my personal experience, when I tried to pull the image, it succeeded without any errors.
enter image description here

If you have any more questions or encounter any further issues, please feel free to ask. I’m here to help!

Leave a Comment