Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

拉取失败,报错 #83

Open
1lkei opened this issue Feb 6, 2025 · 18 comments
Open

拉取失败,报错 #83

1lkei opened this issue Feb 6, 2025 · 18 comments

Comments

@1lkei
Copy link

1lkei commented Feb 6, 2025

报错
error pulling image configuration: download failed after attempts=6: unknown: <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidRequest</Code><Message>Missing x-amz-content-sha256</Message></Error>

@gxterry
Copy link

gxterry commented Feb 6, 2025

复议

@dwu516
Copy link

dwu516 commented Feb 6, 2025

同样的问题
5.7: Pulling from library/mysql 20e4dcae4c69: Retrying in 1 second 1c56c3d4ce74: Retrying in 1 second e9f03a1c24ce: Retrying in 10 seconds 68c3898c2015: Waiting 6b95a940e7b6: Waiting 90986bb8de6e: Waiting ae71319cb779: Waiting ffc89e9dfd88: Waiting 43d05e938198: Waiting 064b2d298fba: Waiting df9a4d85569b: Waiting error pulling image configuration: download failed after attempts=6: unknown: <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidRequest</Code><Message>Missing x-amz-content-sha256</Message></Error>

@partnerSun
Copy link

+1

3 similar comments
@nodjoy
Copy link

nodjoy commented Feb 6, 2025

+1

@AmbitiousJun
Copy link

+1

@490720818
Copy link

+1

@wongsyrone
Copy link

试一下我这个仓库的 https://github.com/wongsyrone/CF-Workers-docker.io/blob/patch-1/_worker.js

@1lkei
Copy link
Author

1lkei commented Feb 6, 2025

试一下我这个仓库的 https://github.com/wongsyrone/CF-Workers-docker.io/blob/patch-1/_worker.js

我刚刚试了原版的,发现恢复正常了

@490720818
Copy link

试一下我这个仓库的 https://github.com/wongsyrone/CF-Workers-docker.io/blob/patch-1/_worker.js

我刚刚试了原版的,发现恢复正常了

确实又可以了 奇怪了

@sykeswzq
Copy link

sykeswzq commented Feb 7, 2025

同样问题,时好时不好,奇怪了

@zhangxiaoluan
Copy link

还是不行啊

@1lkei
Copy link
Author

1lkei commented Feb 8, 2025

还是不行啊

刚试了一下没问题啊

@nodjoy
Copy link

nodjoy commented Feb 8, 2025

还是不行啊

docker版本升级到最新

@j40951
Copy link

j40951 commented Feb 8, 2025

操作系统版本

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/

docker 版本

Client: Docker Engine - Community
 Version:           24.0.7
 API version:       1.43
 Go version:        go1.20.10
 Git commit:        afdd53b
 Built:             Thu Oct 26 09:08:17 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.7
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.10
  Git commit:       311b9ff
  Built:            Thu Oct 26 09:08:17 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.26
  GitCommit:        3dd1e886e55dd695541fdcd67420c2888645a495
 runc:
  Version:          1.1.10
  GitCommit:        v1.1.10-0-g18a0cb0
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

sudo docker pull docker.xxxxxx.cn/library/nginx:1.26.2 报错:

c29f5b76f736: Downloading
ecee3853484a: Downloading
957ecafad75c: Download complete
cdcc20f8c268: Download complete
c8de15fafc3b: Download complete
8626b3f59e2b: Download complete
10857794dc67: Download complete
error parsing HTTP 400 response body: invalid character '<' looking for beginning of value: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Error><Code>InvalidRequest</Code><Message>Missing x-amz-content-sha256</Message></Error>"

@j40951
Copy link

j40951 commented Feb 9, 2025

还是不行啊

docker版本升级到最新

试了一下,在 Debian bullseye,将 docker 升级到最新版本 27.5.1,可以成功。

Client: Docker Engine - Community
 Version:           27.5.1
 API version:       1.47
 Go version:        go1.22.11
 Git commit:        9f9e405
 Built:             Wed Jan 22 13:41:25 2025
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.5.1
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.22.11
  Git commit:       4c9b3b0
  Built:            Wed Jan 22 13:41:25 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.25
  GitCommit:        bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
 runc:
  Version:          1.2.4
  GitCommit:        v1.2.4-0-g6c52b3f
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Debian bullseye docker ce 升级方法

sudo apt-get update
sudo apt-get install --only-upgrade docker-ce docker-ce-cli containerd.io

另外值得说明的是:在 docker 升级成功之后,执行 sudo docker compose up -d 之后,运行了一会,又报了一次上面提到的错误 Missing x-amz-content-sha256 ,接着重复执行一次,成功了。

Image

@OpenSourcerX
Copy link

+1,报错日志

Image

@breakersun
Copy link

+1,报错日志

Image

这个报错有点像 #86

@nodjoy
Copy link

nodjoy commented Feb 11, 2025

+1,报错日志
Image

这个报错有点像 #86

docker升级到最新就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests