Jump to content

Where are the Docker Image Pulls from Dockerhub located


Recommended Posts

Posted

Hello 😀

do you know where the Docker Image Pulls from Dockerhub are located in the docker folder?

image.png.388732a7090aefb570d214589956234e.png

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?

 

Posted (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 by Kilrah
Posted (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 by Kilrah
  • Like 1

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...