skip to Main Content

When I run this command:

docker-compose pull --quiet --ignore-pull-failures

I get this error:

ERROR: Get "https://registry-1.docker.io/v2/": Bad Gateway

This was working fine before but it suddenly stopped working.

Is this docker issue ?

2

Answers


  1. Chosen as BEST ANSWER

    sudo docker ... works.

    Maybe its firewall issue, but I am not sure


  2. It happens sometimes!

    Docker is not working at that time. You should restart your docker server. If you’re in windows and have a docker engine installed restart it manually by clicking on the docker icon on the bottom right then restart docker.

    Or try the following command

    service docker restart
    docker pull...
    

    If you are on linux based machine try the following command:

    $ sudo systemctl daemon-reload #THIS IS RESCUE COMMAND…
    $ sudo systemctl restart docker
    $ sudo systemctl status docker
    $ docker pull ...
    

    Note : Try to log out and then login before executing the commands.

    docker logout
    docker login
    

    you may also need to try connecting docker VM to direct internet connection without any firewall.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search