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 pull fails, operation not permitted #12237
Comments
|
Sorry about that :)
|
After playing around with everything, I've tried to delete all containers and images, and got hit with a load of error messages such as:
However, the stuff disappeared from docker. I've tried pulling again, and got hit with
So I went in and deleted all leftovers manually from the docker installation folder. Now it seems to work and download the images fine. I'm guessing the issue in in the btrfs driver whereby it doesn't notice some external changes done to the btrfs snapshots and thus reports all kinds of weird error messages. Although the issue seems to be resolved now, it would be nice to look into the driver's error messages/handling. |
These errors look to be coming from mount. So you modified some of the layers external to Docker? |
I had some issues with a Linux distro update so I rolled back the btrfs file system to a previous state, and deleted all existing snapshots as I figured they aren't really needed anyway. As it would seem, docker was using those snapshots and didn't really like that I got rid of them. |
Ok, seems like we can close this then? FYI, the mkdir stuff is likely because ApplyLayer is happening in a chroot and it was trying to extract to something that didn't exist. |
I have this exact same issue now. I am running OpenSUSE Tumbleweed and after a recent rollback I get "operation not permitted" for almost every docker operation I perform. I had the same issue a while ago and had to manually delete everything in |
I've used docker on my system for quite a while, but after a few months of idle time when I try to pull an image now, everything fails with the following error:
I actually don't even know how docker managed to conjure this error up. /usr/local/bin exists, so irrespective of root or non-root status, the mkdir error would be "already exists", definitely not operation not permitted.
On a side note, why does docker even try to create that folder? As far as I know it doesn't use it for anything?
The text was updated successfully, but these errors were encountered: