首页 > 解决方案 > 我该如何解决这个无法远程将参考推送到 section.io 拉取所需的代理图像

问题描述

弹出此错误时,我正在将我的 developer-pop 配置推送到远程。我不知道该怎么办。我上面的命令和结果是:

git remote add developer-pop http://192.168.99.101:30090/app/

git push developer-pop

结果:

john@john:~/bootcamp.section.io$ git push developer-pop
Enumerating objects: 203, done.
Counting objects: 100% (203/203), done.
Delta compression using up to 8 threads
Compressing objects: 100% (145/145), done.
Writing objects: 100% (203/203), 310.18 KiB | 77.55 MiB/s, done.
Total 203 (delta 51), reused 203 (delta 51), pack-reused 0
remote: Resolving deltas: 100% (51/51), done.
remote: 
remote: varnish image not found, pulling from repository
remote: modsecurity image not found, pulling from repository
remote: Pulling required proxy images, please try again shortly
To http://192.168.99.101:30090/app/
 ! [remote rejected] Production -> Production (pre-receive hook declined)
error: failed to push some refs to 'http://192.168.99.101:30090/app/'

我应该怎么办?

标签: gitterminaldeveloper-tools

解决方案


解决方案

如果您收到“正在拉取所需的代理图像,请稍后再试”的消息,这意味着您的计算机本地没有代理图像并且已经开始下载它们。正如错误中所说,放松并给系统一些时间(大约 5 分钟左右)。然后再试一次。

结果:_

john@john:~/bootcamp.section.io$ git push developer-pop
Enumerating objects: 203, done.
Counting objects: 100% (203/203), done.
Delta compression using up to 8 threads
Compressing objects: 100% (145/145), done.
Writing objects: 100% (203/203), 310.18 KiB | 77.55 MiB/s, done.
Total 203 (delta 51), reused 203 (delta 51), pack-reused 0
remote: Resolving deltas: 100% (51/51), done.
remote: Validating configuration for proxy varnish...
remote: Validating configuration for proxy modsecurity...
To http://192.168.99.101:30090/app/
 * [new branch]      Production -> Production```

推荐阅读