SelfhostedPro / selfhosted_templates

Portainer templates for selfhosted services
GNU General Public License v3.0
1.22k stars 238 forks source link

[BUG] ERROR: failed to register layer: error creating overlay mount to /var/lib/docker/overlay2 #266

Open lowrisk75 opened 1 year ago

lowrisk75 commented 1 year ago

Describe the bug installing on a raspberry pi failing an return ERROR: failed to register layer: error creating overlay mount to /var/lib/docker/overlay2/e7db2e0cbcd5d9bbe75d7c6430839a8d8096d27f0e9c2069bfc3bc4777029536/merged: too many levels of symbolic links

To Reproduce Steps to reproduce the behavior:

  1. docker volume create yacht
  2. docker run -d -p 8000:8000 -v /var/run/docker.sock:/var/run/docker.sock -v yacht:/config --name yacht selfhostedpro/yacht

Expected behavior Yacht container pulled and running

Screenshots

/opt/yacht $ docker-compose up -d
Creating network "yacht_default" with the default driver
Creating volume "yacht_yacht" with default driver
Pulling yacht (selfhostedpro/yacht:)...
latest: Pulling from selfhostedpro/yacht
5d3d1f5d17e4: Already exists
6e1cdb598384: Already exists
e4b42ba64a14: Already exists
3f882aebe594: Already exists
517fb20f3023: Already exists
22fc7d2a1018: Already exists
6b9bf24a9b96: Extracting [==================================================>]  118705ecfa49: Download complete
1bcbe823f2aa: Download complete
 118.2MB/119.9MBwnload complete
f8f06552119c: Download complete
d3460b293e94: Download complete
ab936285e7ce: Download complete
8f1ea332c817: Download complete
ERROR: failed to register layer: error creating overlay mount to /var/lib/docker/overlay2/e7db2e0cbcd5d9bbe75d7c6430839a8d8096d27f0e9c2069bfc3bc4777029536/merged: too many levels of symbolic links

I removed the volume a few time and created a new one but same issue