restoring data out of docker.img backup


Recommended Posts

I'm looking for a solution (for non-pros) for the following situation: I just need one configuration file (containing security keys I lost) from a container inside a backup docker.img file (which I can't move or start - too difficult to explain, and its size is 430GB). Is it in any way possible to somehow mount the file system of the docker.img file (if needed), than mount the container file/file system that is inside it and extract the one file out of it, a screenshot of its content would suffice also? If no problem for a pro: Teamviewer session, costs? The container in question: creecros/resourcespace-docker

Edited by 40foot
forgot to mention
Link to comment

you can do something like this

mkdir /tmp/docker
mount /mnt/user/system/docker.img /tmp/docker
cd /tmp/docker/btrfs/subvolumes

then you can use the appropriate command lines to search each of the subvolumes that are in there to find your file.  Probably easiest to use midnight commander (mc) at the command prompt to do this.

Link to comment

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.

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.