Skip to content

Desktop: document how to backup/restore the whole VM #22743

Open
@thaJeztah

Description

@thaJeztah

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

The guide currently describes how to backup content, but for some use-cases it may be useful to also describe how to backup (and restore) the Docker Desktop VM as a whole;

  • Describe the location of the VM disk on each platform
  • Describe steps to back-up the VM (on macOS this can also mention "include VM in time machine backups")
  • Backing up the VM may require docker desktop to be stopped while making the backup
  • On Windows with WSL 2, this can mention how to backup the drive for the distribution;
Backup WSL Linux distributions:
		If you are using any WSL2 linux distributions, back them up and restore later following the instructions here:
			https://learn.microsoft.com/en-us/windows/wsl/faq#how-can-i-back-up-my-wsl-distributions-
	
Backup Docker containers/images:
		Backup docker_data.vhdx file. Default location is %LOCALAPPDATA%/Docker/wsl/disk/docker_data.vhdx. Later restore it to the same location if needed.

Location

https://docs.docker.com/desktop/settings-and-maintenance/backup-and-restore/

Suggestion

No response

Metadata

Metadata

Assignees

Labels

area/desktopIssue affects a desktop edition of Docker. E.g docker for mackind/enhancementImproves the usability of docs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions