Docker Community Forums

Share and learn in the Docker community.

Cant pull image, error: failed to register layer

Hello there,

I encountered a really strange issue that I can’t seem to solve. I hope you guys can help me here.

System info:

  • OS: Manjaro Linux
    Kernal: 5.4.15-2-MANJARO
    Docker: 19.03.5-ce, build 633a0ea838
    Docker-Compose: 1.25.0, build 0a186604

I wantet to create a siple grafana instance but i t fails everytime when i try to pull the image.

docker pull grafana/grafana
Using default tag: latest
latest: Pulling from grafana/grafana
4167d3e14976: Already exists
ee8ccdc5740d: Already exists
7b130a99bb3e: Already exists
a1003907b296: Already exists
cb6ede8bea93: Extracting [==================================================>]  8.698MB/8.698MB
681aa40b1643: Download complete
b8b6d560c424: Download complete
bbf401b9b651: Download complete
failed to register layer: error creating overlay mount to /var/lib/docker/overlay2/8c2e67d5ac4203c6c46b7cd7990e640dcfccfffce0e70f42036c75f792b093b9/merged: too many levels of symbolic links

It only happens with grafana, every other image (influxdb) works fine.

I’m not that advanced with Linux and docker so I don’t really know how to troubleshoot that issue. If you need more info then I gave you in this post then I’m happy to provide it.

@fenpaws In case you (or others) didn’t find a fix for this issue: I was able to fix it by going into Docker Desktop, clicking the bug icon then selecting “Clean/Purge data”