As requested, I’m creating another issue for this error.
Some relevant links that go even more in depth on it, in previous posts (in mo particular order):
- version 2.2.0.0: Error while creating mount source path ‘/host_mnt/c/code’: mkdir /host_mnt/c/code: file exists #5516 (comment)
- version 2.2.0.0: Error while creating mount source path ‘/host_mnt/c/code’: mkdir /host_mnt/c/code: file exists #5516 (comment)
- version 2.2.0.0: Error while creating mount source path ‘/host_mnt/c/code’: mkdir /host_mnt/c/code: file exists #5516 (comment)
- 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. phpmyadmin/docker#267
An additional aside:
In the above link I mention/show that the docker run php:apache
container is one of them that also gives this error; it seems after the latest Docker update, it no longer does; however, the docker run wordpress:apache
does still give the same overlay error.
- I have tried with the latest version of my channel (Stable or Edge)
- I have uploaded Diagnostics
- Diagnostics ID: 2ECBE1F4-ADE2-4D97-8082-505598CFAE53/20200213120818
Expected behavior
No overlay error while trying to create certain containers. (Apparently not happening to all containers, as I can run many others, though I haven’t picked out a pattern yet).
Actual behavior
Getting an overlay error.
Information
See below
- Windows Version: See below
- Docker Desktop Version: See below
- Are you running inside a virtualized Windows e.g. on a cloud server or on a mac VM: It’s running in Docker Desktop (Hyper-V)
Unfortunately for me, I still have the same issue with an overlay error (which I don’t really understand).
I just installed:
Using this Compose (I left out the MySQL service, to focus on the problem container):
version: '2'
services:
phpmyadmin:
container_name: phpmyadmin
image: 'phpmyadmin/phpmyadmin:latest'
restart: unless-stopped
environment:
- TZ='America/Chicago'
- "PMA_HOST=mysql"
- "MYSQL_ROOT_PASSWORD=RlL1#2Z%^W"
- "PMA_ABSOLUTE_URI=https://my.domain.rocks:3112/phpmyadmin/"
volumes:
- "/f/Sites/Web/.config/PHPMyAdmin/Files:/Files:rw,shared"
- "/f/Sites/Web/.config/PHPMyAdmin/config.user.inc.php:/etc/phpmyadmin/config.user.inc.php"
- "/f/Sites/Web/.config/PHPMyAdmin/apache2.conf:/etc/apache2/apache2.conf"
- "/f/Sites/Web/.config/PHPMyAdmin/Themes/:/var/www/html/themes/"
depends_on:
- mysql
networks:
- odb
networks:
odb:
external:
name: my-db
Gives me this error (which is the same is the previous Docker Edge version):
{«message»:»Status: failed to register layer: error creating overlay mount to /var/lib/docker/overlay2/a54d40ac5df89eb2c2c9737db85772fe5782ea47c693ceba2eb1889ec2d7f25e/merged: too many levels of symbolic links, Code: 1″,»details»:»Status: failed to register layer: error creating overlay mount to /var/lib/docker/overlay2/a54d40ac5df89eb2c2c9737db85772fe5782ea47c693ceba2eb1889ec2d7f25e/merged: too many levels of symbolic links, Code: 1″}
For what it might also be worth, since I don’t know if the 2 are related in any way, but I’m just throwing it out there, I also get this error when trying to create an Adminer container, and mount a local CSS file to the container:
{«message»:»Error response from daemon: error while creating mount source path ‘/c/Servers/Docker/Containers/Adminer/pepa-linha-dark/adminer.css’: mkdir /c/Servers/Docker/Containers/Adminer/pepa-linha-dark/adminer.css: file exists»,»details»:»Error response from daemon: error while creating mount source path ‘/c/Servers/Docker/Containers/Adminer/pepa-linha-dark/adminer.css’: mkdir /c/Servers/Docker/Containers/Adminer/pepa-linha-dark/adminer.css: file exists»}
I’m running on Win 10 x64 (Version 10.0.18363.657])
We are facing one issue related to the IoT Edge Module pull in one of the hardware. The Gateway cannot pull all the edge modules as per the deployment manifest file. While downloading some modules, we see the error below in the IoT Edge runtime logs.
Could not pull image XXXXXX/YYYY:6.0.0-amd64
<4>2022-03-28T08:56:44Z [WARN] -
caused by failed to register layer:
error creating overlay mount to var/lib/docker/overlay2/24593016a6b6bf0eaf6543d5ec82d94244d5fcb6d25e3be62ed0da70761daacd/merged:
too many levels of symbolic links
IoT Edge runtime version: 1.1.6
What’s the cause for this error and how to recover from it when the devices are installed at sites during production?
We are not expecting any errors while IoT Edge modules are being pulled as per the deployment manifest file. All the modules should be pulled and running.
Christian
4,2114 gold badges24 silver badges42 bronze badges
asked Apr 4, 2022 at 20:53
2
See below for my resolution; not sure if this will work for you.
Specifications
- Hardware: Jetson Nano
- O/S: Ubuntu 18.04
- Package:
nvidia-jetpack
- Version: 4.6-b199
- Architecture: arm64
- Iotedge version: 1.2
- Iotedge Agent: 1.1.12.53348281
Background
I am experiencing the same issue on one (1) of our IoTEdge modules that is running a custom base image. I have checked the base image and it is valid and has not been updated. Also, this same Image/Module is running without issue on 13 other almost identical devices. Overall running nine modules on these machines (includes edgeAgent & edgeHub).
When I inspect the edgeAgent Logs I see the following errors:
Could not create module EnergyCalc
Apr 11 10:31:37 agl-a-f2-h2-u001 aziot-edged[32020]: 2022-04-11T14:31:37Z [WARN] - caused by: error creating overlay mount to /var/lib/docker/overlay2/8c5855e126f9b652d63bf02f293b2382767077eacb00490bd754db0d0c4085c7-init/merged: no such file or directory
This device did experience a «disk» full scenario. This issue was resolved and then I have uninstalled/reinstalled IoTEdge several times without resolution. Created/Deployed a new image (EnergyCalc2) of the same module on a test machine-works perfectly—however when I deploy to this machine, same problem exists.
Brute force method
- Stopped/Removed IoTEdge, Moby-cli, Moby-Engine
- Deleted
/var/lib/docker
directory:rm -r /var/lib/docker
- Re-installed Moby-Engine, IoTEdge
I would venture there is something in the docker configuration that is causing the problem; I did not had a chance to investigate fully.
Jeremy Caney
6,82354 gold badges48 silver badges74 bronze badges
answered Apr 11, 2022 at 15:14
- Delete
/var/lib/docker
sudo rm -r /var/lib/docker
- Install the specific Docker version from the
apt-cache
policydocker-ce
candidate list:apt-cache madison docker-ce
- Choose the version and insert it in the code below:
sudo apt-get install docker-ce=<VERSION_STRING> docker-ce-cli=<VERSION_STRING> containerd.io docker-compose-plugin
- Install docker again
Jeremy Caney
6,82354 gold badges48 silver badges74 bronze badges
answered Aug 16, 2022 at 1:11
Содержание
- docker: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/ fb-init/merged: too many levels of symbolic links. #267
- Comments
- Can’t download docker image: failed to register layer #725
- Comments
- Steps to Reproduce
- Expected Behaviour
- Observed Behaviour
- Context
- Technical Info
- [Bug]: php-fpm:7.3-work-0.139 not pullable -> failed to register layer error creating overlay mount about devilbox HOT 12 CLOSED
- Comments (12)
- Related Issues (20)
- Recommend Projects
- React
- Vue.js
- Typescript
- TensorFlow
- Django
- Laravel
- Recommend Topics
- javascript
- server
- Machine learning
- Visualization
- Recommend Org
- Microsoft
- error creating overlay mount to . /merged: invalid argument. #2340
- Comments
- Container Linux Version
- Environment
- Expected Behavior
- Actual Behavior
- Reproduction Steps
- Other Information
- Addon installation broken #3354
- Comments
- Describe the issue you are experiencing
- What is the used version of the Supervisor?
- What type of installation are you running?
- Which operating system are you running on?
- What is the version of your installed operating system?
- What version of Home Assistant Core is installed?
- Steps to reproduce the issue
- Anything in the Supervisor logs that might be useful for us?
- Additional information
docker: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/ fb-init/merged: too many levels of symbolic links. #267
I’m trying to run this command:
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.
The text was updated successfully, but these errors were encountered:
@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 🙂
Thanks for looking into this, guys.
I’m still wrestling with this issue:
I’m even getting it when I remove all volume mounts. i.e. just running:
I only get this issue when trying to run the PHPMyAdmin container.
I am not sure this issue is for phpMyAdmin
Could you try to run the hello world image using the same command ?
@J0WI what do you think about this issue ?
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 ?
@J0WI AHA! You’ve hit on something. (But I’m not experienced enough w/docker yet to know what, lol).
Yes, I am running Docker Desktop in Win 10 x64, running Linux containers.
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 😕
@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.
Источник
Can’t download docker image: failed to register layer #725
Steps to Reproduce
- run docker pull sharelatex/sharelatex in bash
- wait for download
Expected Behaviour
Successfully download the image.
Observed Behaviour
Can’t pull image, due to this error:
Context
Technical Info
I tried prune the image and redownload, but it doesn’t help.
The text was updated successfully, but these errors were encountered:
Seems you have a problem with docker in your system. From the message, it looks like a file system issue. Does it happen pulling images other than sharelatex/sharelatex ?
Seems you have a problem with docker in your system. From the message, it looks like a file system issue. Does it happen pulling images other than sharelatex/sharelatex ?
@mserranom No, it doesn’t happen when pulling other images. But this problem seems to be a docker machine problem, all the images should be the same. If it’s the problem of the image, how come I can’t download but other can?
It looks like you are already running in some type of container. You may want to look into bumping the limit of symbolic links — not sure where that would be, but that’s not something we have a direct influence on. We use many layers, so maybe look in the overlayfs area for a config option to tweak the number of lowerdir s. Good luck!
Источник
[Bug]: php-fpm:7.3-work-0.139 not pullable -> failed to register layer error creating overlay mount about devilbox HOT 12 CLOSED
I thought it could have been related to the image because I experienced it only on the php7.3 image, but what you suggest seems the right thing to focus on. I’ll dig deeper and report as I have more news.
Thanks @cytopia
cytopia commented on January 17, 2023 1
Still, is it possibile to docker-compose up php specifying 0.134 image version instead of the latest 0.139? Thanks!
masiorama commented on January 17, 2023 1
I am gonna try this and keep you posted! Thanks @cytopia!
masiorama commented on January 17, 2023 1
Just a note for the future: since I wanted to upgrade the php image version I decided to dig a bit deeper again.
None of the standard docker commands worked and I was able to fix only with a drastic move: delete /var/lib/docker .
It is worth mentioning that all images and data will completely disappear so it is a good idea to backup your data (databases for example), but at least now I can work with the latest images.
cytopia commented on January 17, 2023
For me this image pulls just fine:
Can you try the docker pull command manually
masiorama commented on January 17, 2023
Just tried and this is the log:
Something cannot be extracted, it seems. Any idea?
masiorama commented on January 17, 2023
I tried again after upgrading to docker 20.10.14 (from 20.10.10), but this is the result:
cytopia commented on January 17, 2023
looks like an issue on your local machine.
masiorama commented on January 17, 2023
I managed to pull the previous image I worked on (work-134).
Still no idea why newer 7.3 images do not work on my env, but since I am on tight schedule with 2 projects I am gonna stick to this and dig deeper in the near future.
Is there a way to tell devilbox to use this specific PHP image version? Coz if I do docker-compose up mysql devilbox tries to pull the latest version, and I get the error mentioned in the thread.
Thanks!
masiorama commented on January 17, 2023
@cytopia I tried to pull the latest 7.3 on another pc and indeed it worked without issues, so it is definitely a problem of my environment.
Still, is it possibile to docker-compose up php specifying 0.134 image version instead of the latest 0.139? Thanks!
cytopia commented on January 17, 2023
Hi @masiorama how are the alternatives working out for you?
Btw, this is most likely a docker issue on Windows: docker/for-win#5763
masiorama commented on January 17, 2023
Hi @cytopia I had success with the first two options, and I wanted to dig a bit more with option 3, but I guess that right now I have no spare time to focus on this.
Anyway, this issue can definitely be closed since this was not a bug of devilbox.
Thanks for your support!
- [Howto]: update the php-fpm from 8.0 to 8.0.2 HOT 10
- [Howto]: How can i run multiple projects with different configuration? HOT 2
- [Howto]: Connect laravel in docker with MySQL on host OS HOT 23
- [Bug]: Missing gRPC php module HOT 2
- [Feature]: Add `gRPC` php module HOT 4
- [Feature]: MSSQL
- [Bug]: Devilbox not yet ready for PHP 8.2 HOT 5
- [Docs]: Add XDebug configuration info for WSL2 Support HOT 2
- [Bug]: Drush isn’t installed in any version HOT 3
- [Howto]: How to create SSH keys in /home/devlibox/.ssh since it is mounted as read-only? HOT 4
- [Feature]: Add taskfile HOT 2
- [Howto]: Install wkhtmltopdf on Apple M1 HOT 3
- Devilbox for android HOT 1
- [Bug]: Pulled the master branch then it won’t start anymore HOT 3
- [Bug]: Still using dev build of PHP 8.2 HOT 2
- [Bug]: xdebug causing 502 Bad Gateway on a very specific action in WordPress HOT 9
- Xdebug on Devilbox (aggregated thread) HOT 7
- [Bug]: Suddenly can’t remotely connect to MySQL HOT 1
- [Bug]: TLD_SUFFIX=dvl.to still requires hosts entry HOT 15
- Webside not loaded (isotope product-list) HOT 8
Recommend Projects
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
TensorFlow
An Open Source Machine Learning Framework for Everyone
Django
The Web framework for perfectionists with deadlines.
Laravel
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
server
A server is a program made to process requests and deliver data to clients.
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Visualization
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
Recommend Org
We are working to build community through open source technology. NB: members must have two-factor auth.
Microsoft
Open source projects and samples from Microsoft.
Источник
error creating overlay mount to . /merged: invalid argument. #2340
Container Linux Version
Environment
Expected Behavior
Actual Behavior
Reproduction Steps
Other Information
The text was updated successfully, but these errors were encountered:
Thanks for the report. I can’t reproduce this on stable, and our CI didn’t seem to experience this either.
It would be great if you could add additional details on your environment. What is the content of /var/lib/update_engine/prefs/aleph-version and what does docker info say?
I reset the system.
Since we don’t actually publish images for Alibaba cloud, it’s possible the issue is in their image or configuration.
If you’re able to reproduce this issue on a different platform or figure out more information about the error, that would be helpful.
Possible steps to get more information about the error could be:
- Check docker’s log output (set the loglevel to debug, look for any other output related to that mount or other errors)
- strace the containerd process, including spawned children, and find the set of calls related to that mountpoint and what arguments + return code the failed call had.
- Add additional debug code to the docker daemon
Same issue here.
My friend chat with aliyun cs: (using their public coreos image)
The image is not owned by them.
You need debug by yourself. 😭
Finally, i know how to fix this.
The reason is aliyun ecs may not support overlay storage driver,
you need manually changing it to devicemapper.
BTW,
The engineer just reply us with NO solution and suggest us to use their container service.
😠
Changing the overlay driver or selinux config shouldn’t be necessary. It sounds like the Container Linux image being used might be broken, or the instance’s storage might be misbehaving.
Unfortunately, since we don’t publish or support those images, I don’t think there’s much we can do on our end to fix these problems.
Источник
Addon installation broken #3354
Describe the issue you are experiencing
The latest version (installed from scratch) does not allow the installation of addon
What is the used version of the Supervisor?
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
What is the version of your installed operating system?
Home Assistant OS 7.0
What version of Home Assistant Core is installed?
Steps to reproduce the issue
- I select the addon I want to install
- I click on install
- the installation does not start and the warning appears
.
Anything in the Supervisor logs that might be useful for us?
Additional information
The text was updated successfully, but these errors were encountered:
It seems your device date/time is not valid. The OS makes sure that on bootup it synchronizes the time with NTP services. Does the problem persist when making sure Internet connectivity is present on boot?
Is this all related to bug #3289 I reported on November 4th? I asked for an explanation but didn’t get an answer. Maybe you missed it because you closed the bug?
I also made several attempts to activate the Raspberry WiFi connection during boot, and use the mobile phone in Tethering during installation (copying a configuration file found on the internet, appropriately modified with user and password), but without success. After all, not everyone has the availability of an ethernet connection.
In my opinion, you should allow the user to configure the internet connection after booting and entering user data, like any other operating system.
Keep in mind that not everyone is a computer expert.
However, only now I was able to install again: now the boot is performed, but the kernel does not synchronize with the time (90 seconds pass).
Yesterday I opened two more reports:
#3356 in the supervisor
#10887 in the frontend
Is everything connected?
HasOS «runs» on a Raspberry Pi 4 (version with 4GByte) connected to a FritzBox 7530 router via an ethernet cable which in turn is connected to the optical fiber modem.
I hope you don’t leave me with the system unusable for another two months like last time.
Источник
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?
@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
I did look in to this, but the best answer I could find on StackOverflow
about these sorts of errors was someone saying essentially «that’s one of
the quirks of Docker» — I couldn’t find any better solution than that.
If you link fewer -v files does that work?
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.
I am not sure this issue is for phpMyAdmin
Could you try to run the hello world image using the same command ?
@J0WI what do you think about this issue ?
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
?
@J0WI AHA! You’ve hit on something. (But I’m not experienced enough w/docker yet to know what, lol).
Yes, I am running Docker Desktop in Win 10 x64, running Linux containers.
@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
i had same error with other image, because of corrupted image. just deleted and pull image then it started to work
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 ?