Docker Community Forums

Share and learn in the Docker community.

Docker Desktop Backup

Hey Folks,

Question for all of you, I’m currently using docker desktop for a client and they are looking for a simple way to do automated backups in case they ever need to roll back a day or two, or transition docker desktop to another server.

I figured it would be as simple as copying the VHDX (running on Windows Server 2019 without WSL2 support, therefore it has the legacy Hyper-V backend), however in my testing moving this between servers doesn’t move anything at all, no data or anything.

Could anyone provide some advice on the best way to do this?

The backup of a single Docker container consists of the following simple steps:
Save current container state to new image (container commit – snapshot).
Execute Docker utility and save data.
Remove saved snapshot to free not needed resources.