Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

docker ERROR: unknown blob

On launching app using docker getting message ERROR: unknown blob as per

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

after adding flag --verbose to my docker-compose call it now shows

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

this is on linux using latest docker

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

seems strange as this app ran fine this morning ... I am using a local docker repository of registry:2 at localhost:5000

like image 677
Scott Stensland Avatar asked Feb 03 '18 16:02

Scott Stensland


1 Answers

Solution : ERROR: unknown blob is trying to say one or more layers of the image is not found

... this makes sense since earlier today all local docker images were deleted

So after building the missing image the docker-compose up ran fine

like image 90
Scott Stensland Avatar answered Nov 12 '22 10:11

Scott Stensland