-
Notifications
You must be signed in to change notification settings - Fork 86
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
failed to register layer: devicemapper: Error running deviceCreate (createSnapDevice) dm_task_run failed #46
Comments
In my case I fixed it with this way, the metadata file was broken because it reached the limit of the hard disk and the file was corrupted You can find more information at: |
I have same error message, but while executing the OS: AntiX, based on Debian (codename: Bookworm) |
@mdziczkowski Hello, I am also getting same, have you resolved it ? |
Did you try the solution from #46 (comment)? |
Hi @cahya-wirawan, Which Docker version are you using? Unfortunately, it's not working for my case. |
The version of my server docker engine is 19.03.12 |
Expected behavior
I am running a docker installation. On one Linux server (called Wolfram) it works. I would expect it to work on another Linux server as well. However on server lnx-hrl-148v it does NOT work.
Actual behavior
After downloading part of the required images, building fails with the message "failed to register layer: devicemapper: Error running deviceCreate (createSnapDevice) dm_task_run failed". Is there anyone who can explain this?
I have no clue as to what is wrong here. I have checked that the disk space is sufficient. The amount of memory in both machines is the same.
Information
The installation works on machine Wolfram
The docker client and server on Wolfram have identical versions:
The installation fails on lnx-hrl-148v, which has the following specs:
Both the client and the server on lnx-hrl-148v have the same version:
The docker files I used for installation can be found on https://github.com/AmpersandTarski/docker-ampersand.
Steps to reproduce the behavior
Using a bash CLI through putty (an SSH-client) on server lnx-hrl-148v I did:
git clone https://github.com/AmpersandTarski/docker-ampersand/ /home/$(whoami)/docker-ampersand
cd ~/docker-ampersand
docker build -t ampersand:latest ampersand
This yielded:
The text was updated successfully, but these errors were encountered: