Invalid certificate when pulling docker images

Discussion about Docker
User avatar
TMzethar
TM Support
Posts: 2827
Joined: 27 Oct 2020, 16:43

Re: Invalid certificate when pulling docker images

Post by TMzethar »

We have also found similar issues with older Docker clients from other devices. This is likely a limitation of the DockerHub website.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
pipa89
Posts: 13
Joined: 17 Jan 2024, 05:12
Spain

Re: Invalid certificate when pulling docker images

Post by pipa89 »

TMzethar wrote: 30 Apr 2024, 19:38 We have also found similar issues with older Docker clients from other devices. This is likely a limitation of the DockerHub website.
But that is your job as a company, to find solutions to problems.
You have to solve this and as soon as possible, it cannot be that you cannot use the applications that the nas already has, it is that in this case it would be giving false advertising because it says that it has docker and it does not work.
I hope you can help us.
User avatar
TMzethar
TM Support
Posts: 2827
Joined: 27 Oct 2020, 16:43

Re: Invalid certificate when pulling docker images

Post by TMzethar »

pipa89 wrote: 01 May 2024, 00:00
Regarding the issue of older Docker apps not being able to fetch images from the new Docker Hub site, while we don't have a solution for this at the moment, we will continue to try and keep a close eye on it.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
f18m
Posts: 15
Joined: 13 Sep 2023, 05:28

Re: Invalid certificate when pulling docker images

Post by f18m »

hi TMzethar,
I think I got a bit more insight as to why the docker client on TOS4 is unable to pull docker images.
I noticed that the problem is not actually the docker registry itself (as I wrote previously in this topic).
E..g the following pull fails even if it's done against GitHub Container Registry:

Code: Select all

docker pull ghcr.io/eschava/psmqtt:1.0.0
I think that happens because the image is a multi-arch image.
What I did was to fork that project and create a single-arch docker image and push it as 'f18m/psmqtt:1.0.0'.
Then the docker pull succeeds:

Code: Select all

docker pull ghcr.io/f18m/psmqtt:1.0.0
As pointed out by others on the web, the issue is proabbly due to the "minimal SLSA Provenance attestation", see the docker buildx changelog: https://github.com/docker/buildx/releases/tag/v0.10.0
Indeed the API version used by docker 17.06 installed on TOS4 is 1.31:

Code: Select all

root@TNAS-FF # docker version 
Client:
 Version:      unknown-version
 API version:  1.30
 Go version:   go1.7.4
 Git commit:   unknown-commit
 Built:        unknown-buildtime
 OS/Arch:      linux/arm64

Server:
 Version:      17.06.0-dev
 API version:  1.31 (minimum version 1.12)
 Go version:   go1.7.4
 Git commit:   6d92b0ee1
 Built:        Sun May 22 01:10:00 2016
 OS/Arch:      linux/arm64
 Experimental: false
while the most recent API version is 1.45. I didn't investigate more but I think between API version 1.30 and 1.45 the SLSA Provenance attestation has been added.

Now my question is: what's the latest docker version that can be installed on TOS4 ? Do you know?
I think you mentioned kernel compatibility issues in some post. At this page https://docs.docker.com/engine/install/binaries/ the docker team mentions kernel 3.10 as minimal version. My TOS4 is running 4.4.18-g8bcbd8a-dirty so I don't expect that to be an issue?

Has TerraMaster reached out to Docker support to resolve this issue?

Thanks
User avatar
samsomus
Posts: 6
Joined: 15 Dec 2022, 18:36

Re: Invalid certificate when pulling docker images

Post by samsomus »

I confirm the above mentioned problem. Not a single image is loaded. Please find a way to solve this on F4-210. Don't let your team's reputation fall!
User avatar
DigitalAnalog
Posts: 74
Joined: 22 Mar 2024, 07:07
Australia

Re: Invalid certificate when pulling docker images

Post by DigitalAnalog »

Is this problem limited to just ARM TNAS devices?
F4-423
User avatar
moyomoyuno
Posts: 7
Joined: 19 Feb 2021, 16:41
Spain

Re: Invalid certificate when pulling docker images

Post by moyomoyuno »

Same issue here, F4-210. Last pull image from watchtower container in 8/04/2024
User avatar
TMzethar
TM Support
Posts: 2827
Joined: 27 Oct 2020, 16:43

Re: Invalid certificate when pulling docker images

Post by TMzethar »

f18m wrote: 07 May 2024, 20:59
We have informed the relevant project team of your comments. We will discuss and validate this, thank you.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
StephenM
Posts: 71
Joined: 11 Jan 2021, 21:55
Great Britain

Re: Invalid certificate when pulling docker images

Post by StephenM »

I can confirm that this is happening when I try and pull from the command line:

docker pull jc21/nginx-proxy-manager

I believe an update to Docker will assist this.
User avatar
EthanLiu
TM Product Manager
Posts: 177
Joined: 13 Nov 2023, 14:25
China

Re: Invalid certificate when pulling docker images

Post by EthanLiu »

Regarding the image pull issues caused by the Docker version, such as certificate errors and connection timeouts, we have identified and pinpointed the related problems. To address these issues, we plan to release an updated version of Docker in the near future. Please stay tuned for application update notifications in the system to upgrade to the latest version promptly.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Locked

Return to “Docker”