gpt4 book ai didi

image - Docker:无法从损坏的拉取中删除中间图像

转载 作者:行者123 更新时间:2023-12-02 21:01:37 25 4
gpt4 key购买 nike

有一个损坏的图像阻止了进一步的拉动。而且我无法移除或删除它

我做了什么:

- stopped all containers ("docker ps -a" shows empty list)
- cleaned everything with "docker system prune -a")
- "docker image ls -a" shows an empty list

当我拉取基于 PHP7.3 的东西时,我得到这个错误:

$ sudo docker pull wordpress
Using default tag: latest
latest: Pulling from library/wordpress
bc51dd8edc1b: Already exists
a3224e2c3a89: Already exists
be7a066df88f: Already exists
bfdf741d72a9: Already exists
a9e612a5f04c: Already exists
c026d8d0e8cb: Already exists
d94096c4941c: Already exists
5a16031a7587: Already exists
0cf1daf9efc0: Already exists
b202acb13a6c: Already exists
907001e30880: Already exists
2e4b329c80b2: Already exists
cd1ec92e7164: Already exists
8cba435f5ca6: Already exists
42d9ff86311d: Extracting [==================================================>] 16.7MB/16.7MB
4907cef4e3ab: Download complete
d9efb2f24248: Download complete
8301b0ae2103: Download complete
a9e295ae3552: Download complete
cd1a22f91cdc: Download complete
f81677d558c1: Download complete
failed to register layer: error creating overlay mount to /var/lib/docker/overlay2/081694acd847bf622c20fa32b7cebad1ca46d4848cd49c336812fc03d60457c5/merged: too many levels of symbolic links

我想知道“已经存在”:如何删除它们?? (我已经尝试过 prune -a ;见上文)

我希望我可以删除所有 (100%) 图片 -> 这样我就可以开始新的下载。

(背景:硬件有内存错误,可能这就是现在出现这个错误的原因。硬件和磁盘现在都没有问题。)

最佳答案

尝试:

  • 停止docker服务

  • 删除/var/lib/docker

  • 启动docker服务

关于image - Docker:无法从损坏的拉取中删除中间图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60209172/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com