Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/<string-of numbers>fb-init/merged: too many levels of symbolic links. #267

Closed
STaRDoGG opened this issue Jan 3, 2020 · 13 comments
Assignees

Comments

@STaRDoGG
Copy link

STaRDoGG commented Jan 3, 2020

I'm trying to run this command:

docker run --name phpmyadmin -d -p 9024:80 --net='my-db' -e TZ='America/Chicago' -e PMA_HOST=mysql -e MYSQL_ROOT_PASSWORD='werewrew#FDFDS%^FDF' -e PMA_ABSOLUTE_URI='https://my.domain.rocks:3333/phpmyadmin/' -v '/f/Sites/myWeb/.config/PHPMyAdmin/config.user.inc.php:/etc/phpmyadmin/config.user.inc.php' -v '/f/Sites/myWeb/.config/PHPMyAdmin/apache2.conf:/etc/apache2/apache2.conf' -v '/f/Sites/myWeb/.config/PHPMyAdmin/Saved:/saved' -v '/f/Sites/myWeb/.config/PHPMyAdmin/Upload:/upload' -v '/f/Sites/myWeb/.config/PHPMyAdmin/Themes/:/var/www/html/themes/' phpmyadmin/phpmyadmin:latest

But I keep getting the error:

docker: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/[string-of-numbers]-init/merged: too many levels of symbolic links.

Any ideas why?

@williamdes
Copy link
Member

@STaRDoGG no idea, the issue is out of the scope of phpMyAdmin

But my advice would be to remove arguments from the command line until the error is not here.
You will then have found the error in your config :)

@ibennetch
Copy link
Member

ibennetch commented Jan 4, 2020 via email

@STaRDoGG
Copy link
Author

Thanks for looking into this, guys.

I'm still wrestling with this issue:

https://stackoverflow.com/q/59782031/553663

I'm even getting it when I remove all volume mounts. i.e. just running:

docker run --name phpmyadmin -d -p 9024:80 --net=my-db -e TZ=America/Chicago -e "PMA_HOST=mysql" -e "MYSQL_ROOT_PASSWORD=redacted" -e "PMA_ABSOLUTE_URI=https://my.domain.rocks:33333/phpmyadmin/" phpmyadmin/phpmyadmin:latest
Unable to find image 'phpmyadmin/phpmyadmin:latest' locally
latest: Pulling from phpmyadmin/phpmyadmin
8ec398bc0356: Already exists
85cf4fc86478: Already exists
970dadf4ccb6: Already exists
8c04561117a4: Already exists
d6b7434b63a2: Already exists
83d8859e9744: Already exists
9c3d824d0ad5: Already exists
0ff2f3c2c8ab: Extracting [==================================================>]  10.58MB/10.58MB
f7a2cdcb0840: Download complete
fe8c2411b50b: Download complete
aa0cb4375001: Download complete
96198bf1ad68: Download complete
5fe54d7827f9: Download complete
b14701794f98: Download complete
017ea991a64c: Download complete
b9fac930b192: Download complete
1807d0d7270b: Download complete
5fe7c1ba6fbd: Download complete
docker: failed to register layer: error creating overlay mount to /var/lib/docker/overlay2/32a716d9ae4c60363ebb11152502fba95ee7589bf28474ff9dbc93519f33b6a9/merged: too many levels of symbolic links.
See 'docker run --help'.

I only get this issue when trying to run the PHPMyAdmin container.

@williamdes
Copy link
Member

I am not sure this issue is for phpMyAdmin
Could you try to run the hello world image using the same command ?

@STaRDoGG
Copy link
Author

image

image

@williamdes
Copy link
Member

@J0WI what do you think about this issue ?

@J0WI
Copy link
Contributor

J0WI commented Jan 17, 2020

Never heard about it. Is this Windows only?

Could you try to run the hello world image using the same command ?

The hello world image or the ubuntu base image are not comparable. Maybe you can try with wordpress:apache or php:apache?

@STaRDoGG
Copy link
Author

@J0WI AHA! You've hit on something. (But I'm not experienced enough w/docker yet to know what, lol).

image

Yes, I am running Docker Desktop in Win 10 x64, running Linux containers.

@J0WI
Copy link
Contributor

J0WI commented Jan 18, 2020

We can't help you here, I suggest that you try moving this issue to https://github.com/docker/for-win or https://github.com/docker-library/php 😕

@STaRDoGG
Copy link
Author

STaRDoGG commented Jan 18, 2020

@J0WI ok, thanks. Any ideas though? It seems like you sort of have an idea, based on the suggestion you gave that pointed right to it.

I'll try the PHP issues area; the Docker issues apparently get ignored by and large:
https://github.com/docker/for-win/issues

@kukubadze
Copy link

i had same error with other image, because of corrupted image. just deleted and pull image then it started to work

@Maelzin13
Copy link

failed to register layer: error creating overlay mount to /var/lib/docker/overlay2/73b07c78e2fddeb494013ff4998318723eb5c8a5ba7c396210a7b534d3d87c31/merged: too many levels of symbolic links

Alguém pode dar um help ?

@miro-balaz
Copy link

docker/for-win#5763 (comment)

@williamdes williamdes self-assigned this Mar 9, 2023
@williamdes williamdes closed this as not planned Won't fix, can't repro, duplicate, stale Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants