[英]Docker - Error response from daemon: received unexpected HTTP status: 503 Service Unavailable
I'm trying to pull/run an image with the following command:我正在尝试使用以下命令拉取/运行图像:
docker run -d --name sonarqube -p 9000:9000 sonarqub
But I got the following error:但我收到以下错误:
Error response from daemon: received unexpected HTTP status: 503 Service Unavailable.
The issue is not your end.问题不是你的目的。 Docker registry is down at the moment.
Docker 注册表目前已关闭。
status.docker.com 状态.docker.com
You can check for docker-registry status, it should work once it back to normal.您可以检查 docker-registry 状态,一旦恢复正常,它应该可以工作。
Sometimes it happens.有时候这种情况会发生。 I also faced this issue.
我也面临这个问题。 I just reloaded the daemon and restarted the docker service.
我刚刚重新加载守护进程并重新启动了 docker 服务。 It solved this issue.
它解决了这个问题。 You can use the below commands.
您可以使用以下命令。
$ sudo systemctl daemon-reload #THIS IS RESCUE COMMAND…
$ sudo systemctl restart docker
$ sudo systemctl status docker
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.