Backup and restore after fresh Windows install

Hello,

This is regarding “Docker for Windows” and Windows 10. I currently have Docker for Windows installed on my machine. I would like to back up all the data relevant to Docker that is on my machine on another external drive. That way, if I wipe out my hard drive and need to reinstall Windows anew, I can: 1- reinstall Docker for Windows (which I can download from the Docker website) and, 2- restore my former Docker data from the backup and get going where I left off.

Reading the documentation, it is not clear to me how I can do that in the simplest fashion. Ideally, I would like this process to be as straight forward as backing up files from the hard drive to an external hard drive. So perhaps I can do that without transiting via the Docker website (no need to upload image) and without even starting Docker on my machine.

If there is documentation or an article about this, please point me to it.

Thanks.

Any suggestions, anyone? :slightly_smiling_face:

Hi. Trying again. Any help welcome. Thanks.

Further details:
This is for Docker for WIndows. If I save the MobyLinuxVM.vhdx file on an external drive, then reinstall Windows 10 on my machine from scratch, reinstall docker, and replace the newly created MobyLinuxVM.vhdx file on the current machine (after reinstalling Docker) with the (old) MobyLinuxVM.vhdx file from the external drive, without changing the Disk Image Location in Docker>Settings>Advanced (same location for new and old install of Docker), would the new Docker install run with all my data as before?

Hi,

Did you succeed in taking a backup and bringing back the Docker container in the Docker for Windows scenario? I’m facing the same problem.