Docker pull failed starting from version 2.2.5

Describe the problem/error/question

Hello, everyone !

I have been using Docker to deploy the n8n project. Recently, when I was preparing to update to the latest version 2.2.5, the Docker pull operation failed and I was unable to pull the latest image.

Error message is : ·ERROR: failed to register layer: Error processing tar file(exit status 1): archive/tar: invalid tar header·

root@r730:~/docker-srv/n8n# docker-compose up -d
Pulling n8n (docker.n8n.io/n8nio/n8n:2.2.6)...
2.2.6: Pulling from n8nio/n8n
bc0cdc8ecc2f: Extracting [==================================================>]   1.89kB/1.89kB
66d634619c1c: Download complete
f860243118e9: Download complete
7ebb9aff85fe: Download complete
218829d6d7f2: Download complete
9cd9f54f6da2: Download complete
e628b015b66d: Download complete
4f4fb700ef54: Download complete
a6ec7778f367: Download complete
e0da1fc8609b: Download complete
09d55225fc4f: Download complete
88efbedad21b: Download complete
ERROR: failed to register layer: Error processing tar file(exit status 1): archive/tar: invalid tar header
root@r730:~/docker-srv/n8n# 

This is my docker version

root@r730:~/docker-srv/n8n# docker version
Client:
 Version:           20.10.24+dfsg1
 API version:       1.41
 Go version:        go1.19.8
 Git commit:        297e128
 Built:             Fri Jun  6 14:40:45 2025
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.24+dfsg1
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.19.8
  Git commit:       5d6db84
  Built:            Fri Jun  6 14:40:45 2025
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.20~ds1
  GitCommit:        1.6.20~ds1-1+deb12u2
 runc:
  Version:          1.1.5+ds1
  GitCommit:        1.1.5+ds1-1+deb12u1
 docker-init:
  Version:          0.19.0
  GitCommit:        

Does anyone know what this problem is?

This issue has never occurred before. My current n8n version is 2.2.4. Now all versions higher than 2.2.4 are unavailable, i have tried v2.2.6 v2.3.2

Hi @github0null,

What happens if you upgrade Docker to the latest version?

ok. It works when i updated docker to 29.1.4

A strange problem.

1 Like