Pascal51882 Posted April 5, 2024 Posted April 5, 2024 Hello 😀 do you know where the Docker Image Pulls from Dockerhub are located in the docker folder? After switching my cache drive these old files have permission problems. I cant update dockers with old image files because oft that and would hope that I dont need to manually recreate them. (I have some local self build dockers I could not recreate at the moment. So deleting the whole docker file is not really an option for me).  I would like to check the permissions or could I just run the Tool "New Permissions" over my docker share?  Quote
Kilrah Posted April 5, 2024 Posted April 5, 2024 (edited) Do you have a Docker image or folder? If it's an image there's no reason for things to break when the image is copied to another drive. If folder... it's basically impossible to transfer. Â The Docker system makes lots of use of filesystem features to deduplicate things and is not really manageable manually. Â "New permissions" is appropriate for data files but will wreak complete havoc if run on Docker or appdata files. But Docker runs as root so it's unlikely you'd have permission problems, if there are issues it's more likely corruption. Edited April 5, 2024 by Kilrah Quote
Pascal51882 Posted April 5, 2024 Author Posted April 5, 2024 Thank you @Kilrah I am using the folder version. Why is it impossible to transfer? My dockers are running fine. Do you really think its caused by corruption? Quote
Kilrah Posted April 5, 2024 Posted April 5, 2024 (edited) As mentioned it makes use of filesystem features e.g. btrfs subvolumes, zfs datasets - just copying the files will break all that, say removing an old image it tries to delete a subvolume but that doesn't exist anymore, it's just files. Â Would explain why it "works" as it is but can't be modified anymore. Â That's why the default is an image, it's self-contained, can be moved etc without losing/corrupting things Edited April 5, 2024 by Kilrah 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.