amir20 / dozzle

Realtime log viewer for docker containers.
https://dozzle.dev/
MIT License
5.75k stars 288 forks source link

Can't download packages for Docker #2094

Closed Audiotech70 closed 1 year ago

Audiotech70 commented 1 year ago

Tried using docker CLI to install and got the following errors:

sudo docker pull amir20/dozzle Using default tag: latest Error response from daemon: manifest for amir20/dozzle:latest not found

Error if using 'sudo docker run -d' command:

Unable to find image 'amir20/dozzle:latest' locally docker: Error response from daemon: manifest for amir20/dozzle:latest not found.

Also tried using the tag: v4.8.2 sudo docker pull amir20/dozzle:v4.8.2 With the same manifest error.

I did notice that everything recently (except 'Master-Hub') has been pushed by "amirraminfar" instead of amir20. Could this be the source of the manifest problem?

amir20 commented 1 year ago

I was not able to reproduce this. I am able to docker pull successfully on my laptop and multiple linux machines.

I also checked my analytics and 100+ have been installed with version 4.8.2 so it is working.

It might be related to https://github.com/amir20/dozzle/issues/2015

amir20 commented 1 year ago

I did notice that everything recently (except 'Master-Hub') has been pushed by "amirraminfar" instead of amir20. Could this be the source of the manifest problem?

No, that was done a few months back when Docker accepted Dozzle in to their OSS.

Are you running any experimental flags?

Audiotech70 commented 1 year ago

It's the stock TerraMaster NAS Docker, but it's way out of date (their choice, not mine): Docker version 17.05.0-ce, build 89658be

No custom repo or the like, just how it shipped from TM. Though they did implement a desktop gui of sorts. I largely live via CLI on SSH however.

Tried again just now (using your copied command from: https://github.com/amir20/dozzle)

[user@NAS ~]$ sudo docker run --name dozzle -d --volume=/var/run/docker.sock:/var/run/docker.sock -p 8888:8080 amir20/dozzle:v4.8.2 Password: Unable to find image 'amir20/dozzle:v4.8.2' locally docker: Error response from daemon: manifest for amir20/dozzle:v4.8.2 not found. See 'docker run --help'.

[user@NAS ~]$ sudo docker run --name dozzle -d --volume=/var/run/docker.sock:/var/run/docker.sock -p 8888:8080 amir20/dozzle:latest Unable to find image 'amir20/dozzle:latest' locally docker: Error response from daemon: manifest for amir20/dozzle:latest not found. See 'docker run --help'.

[user@NAS ~]$ sudo docker run --name dozzle -d --volume=/var/run/docker.sock:/var/run/docker.sock -p 8888:8080 amir20/dozzle:4.8.2 Unable to find image 'amir20/dozzle:4.8.2' locally docker: Error response from daemon: manifest for amir20/dozzle:4.8.2 not found. See 'docker run --help'.

amir20 commented 1 year ago

That's weird. Does amir20/dozzle:4.8.1 or amir20/dozzle:4.8.0 work?

And you are right, that version of docker is really old. Now Docker is on version v23.

Audiotech70 commented 1 year ago

Sadly no. Tried as listed on the tags page (with the 'v') and as you've designated it here (without the v) to see if it made a difference. Again, sadly no.

docker run -d \

--name=dozzle \ -p 8892:8080 \ -v /var/run/docker.sock:/var/run/docker.sock \ --restart always \ amir20/dozzle:4.8.1 Unable to find image 'amir20/dozzle:4.8.1' locally docker: Error response from daemon: manifest for amir20/dozzle:4.8.1 not found. See 'docker run --help'.

[user@NAS ~]$ docker run -d --name=dozzle -p 8892:8080 -v /var/run/docker.sock:/var/run/docker.sock --restart always amir20/dozzle:4.8.0 Unable to find image 'amir20/dozzle:4.8.0' locally docker: Error response from daemon: manifest for amir20/dozzle:4.8.0 not found. See 'docker run --help'.

[user@NAS ~]$ docker run -d --name=dozzle -p 8892:8080 -v /var/run/docker.sock:/var/run/docker.sock --restart always amir20/dozzle:v4.8.0 Unable to find image 'amir20/dozzle:v4.8.0' locally docker: Error response from daemon: manifest for amir20/dozzle:v4.8.0 not found.

I have had the same issue with one other app I tried to install in the past few days (can't recall which though as I've been on a testing binge), but all other apps continue to install fine on this old Docker.

I appreciate you trying to look into this!

amir20 commented 1 year ago

What's your CPU architecture? Could it be that it not a compatible architecture?

Audiotech70 commented 1 year ago

amd64 (Intel Celeron J1800)

amir20 commented 1 year ago

Hmm ok so that should work....

Just for my own entertainment...can you try on a new computer or locally with a new version of Docker? I want to rule out any proxy issues.

You can also try amir20/dozzle:master at https://hub.docker.com/layers/amir20/dozzle/master/images/sha256-3a4a0a44604f1a0a7cae3089602321390eba3828c6003da7425f5881a244c3f8?context=repo

Aside from that, I am running out of ideas.

amir20 commented 1 year ago

I did some research and am still not finding anything. The best solution I can offer is enabling debug mode. Instructions can be found here https://docs.docker.com/engine/reference/commandline/dockerd/ to enable debug mode with dockerd.

After debug mode is enabled, docker pull should print extra logs.

Audiotech70 commented 1 year ago

Again, I appreciate your efforts!! I'll see if I can go the debug route... Wish me luck. lol

crebuh commented 1 year ago

Hey @amir20 got the same issue on a remote server, where Docker version 17.09.1-ce, build 19e2cf6 is still running. But updating is currently not an option.

Error response from daemon: manifest for amir20/dozzle:latest not found

really weird because I'm able to pull other images from docker hub

amir20 commented 1 year ago

@crebuh I won't be able to help much since I can't reproduce. Try enabling debug mode and see if that prints any helpful messages. I don't think I can install v17 either.

amir20 commented 1 year ago

I spent a lot of time trying to install docker 17 with no success. I don't think I can help anymore.

Audiotech70 commented 1 year ago

Just wanted to update...

I did manage to get Docker updated to v23 on my TerraMaster NAS, unfortunately that didn't solve the problem.

Once I got that result, I started to look into other aspects, and I think I have a possible candidate for the source of the problem: the Docker repo.

In my case the default Docker repo: dev.aliyun.com

When I decided to try and install dozzle on a unit that I've been prepping to use (but have been putting off), I gave it a shot, and it installed dozzle fine.

Not sure what the discrepancy is between the primary Docker hub, and the Chinese one, but that's my hunch. (FYI, Synology uses dev.aliyun.com as well as TerraMaster)

Audiotech70 commented 1 year ago

Confirmed!

Went back into the TNAS unit, changed the repo from dev.aliyun.com to hub.docker.com, and it was paydirt!

sudo docker run -d \

--name=dozzle \ -p 8892:8080 \ -v /var/run/docker.sock:/var/run/docker.sock \ --restart=unless-stopped \ amir20/dozzle Password: Unable to find image 'amir20/dozzle:latest' locally latest: Pulling from amir20/dozzle f47e9b3e0786: Pull complete 1758aed167f1: Pull complete Digest: sha256:487718671b7f5e7cb44b028d4032c02f576e74dc1ecf7380be1323ddc52c3de7 Status: Downloaded newer image for amir20/dozzle:latest 8b9f10efea9e0a3ac41884a1a989f61c04817ce0b5bbf71bfe0e81f606934c92

It DL'd v4.9.3

amir20 commented 1 year ago

That's amazing find. I had never heard of dev.aliyun.com until today. I also have a local Synolgoy at home but I was able to pull dozzle successfully.

Went back into the TNAS unit, changed the repo from dev.aliyun.com to hub.docker.com, and it was paydirt!

How were you able to change the repo? I want to test it to see if I can make it work for everybody else but I am not able to figure that out.

amir20 commented 1 year ago

Oh I think I see it now.

But even after switching the repo docker pull amir20/dozzle works for me.

Screenshot 2023-04-10 at 8 54 57 AM
Audiotech70 commented 1 year ago

Hrmmm. That would seem to suggest that it's down to supporting libraries...