docker ERROR:未知的blob

时间:2018-02-03 16:04:32

标签: docker docker-compose

使用docker按照

获取消息// /components/item-card/item_card.php <?php <link rel="stylesheet" type="text/css" href="/css/variables.css" /> <link rel="stylesheet" type="text/css" href="/components/item-card/item_card.css" /> <div class="item-card"> <div></div> <div></div> <div> <button>ADD TO CART</button> </div> </div> ?> // /css/variables.css :root { --main-color-scheme: #182e49; } // /components/item-card/item_card.css :root { --card-width: 300px; --card-height: 360px; } .item-card { display: flex; width: var( --card-width ); height: var( --card-height ); } // /index.php <?php include "components/item-card/item_card.php"; ?> 启动应用程序
ERROR: unknown blob

将标志--verbose添加到我的docker-compose调用后,它现在显示

docker-compose  -f /usr/local/tmp/khufu01/loud_deploy/nokube/dind/docker-compose.yml up -d 
Pulling myimage(localhost:5000/forelsket/myimage:latest)...
latest: Pulling from forelsket/myimage
50aff78429b1: Pulling fs layer
f6d82e297bce: Pulling fs layer
fdd34fec4c74: Pulling fs layer
151b5e27e3b4: Pulling fs layer
d477e9b677eb: Pulling fs layer
7e8156598779: Download complete
ca2064fc9543: Download complete
ERROR: unknown blob

这是在linux上使用最新的docker

docker-compose --verbose  -f /usr/local/tmp/khufu01/loud_deploy/nokube/dind/docker-compose.yml up -d 
Pulling myimage(localhost:5000/forelsket/myimage:latest)...
latest: Pulling from forelsket/myimage
50aff78429b1: Pulling fs layer
f6d82e297bce: Pulling fs layer
fdd34fec4c74: Pulling fs layer
151b5e27e3b4: Pulling fs layer
d477e9b677eb: Pulling fs layer
7e8156598779: Download complete
ca2064fc9543: Download complete
ERROR: compose.cli.main.main: unknown blob

看起来很奇怪,因为这个应用程序今天早上运行良好...我正在使用本地docker存储库注册表:2在localhost:5000

2 个答案:

答案 0 :(得分:1)

解决方案:docker 18.02.0-ce-rc2 Kernel Version: 4.4.0-112-generic Operating System: Ubuntu 16.04.3 LTS OSType: linux Architecture: x86_64 试图说找不到图像

...这是有道理的,因为今天早些时候所有本地码头图像都被删除了

因此,在构建缺失的图像后,ERROR: unknown blob运行良好

答案 1 :(得分:0)

就我而言,删除/var/lib/docker会使情况变得更糟-拉取失败

$ docker-compose up -d
Pulling mysql-service (mysql:5.7.17)...
5.7.17: Pulling from library/mysql
6d827a3ef358: Pulling fs layer
ed0929eb7dfe: Pulling fs layer
03f348dc3b9d: Pulling fs layer
fd337761ca76: Waiting
7e6cc16d464a: Waiting
ca3d380bc018: Waiting
3fe11378d5c0: Waiting
2b5dfd325645: Waiting
b54281d17fbe: Waiting
7eae4db8eea5: Waiting
76cf68e17b09: Waiting
ERROR: open /var/lib/docker/tmp/GetImageBlob310458906: no such file or directory

清除docker解决了这个问题。