Skip to content

Did you know?

Switching Docker Desktop's VM backend hides your images, containers and volumes.

Each Docker Desktop VMM has its own disk: push images and back up volumes before switching to Docker VMM.

Explained

Docker Desktop keeps a separate disk image for each virtual machine manager. When you switch, for example from WSL 2 or the Apple Virtualization framework to the new Docker VMM under Settings > General, Docker starts with an empty engine: docker images and docker volume ls show nothing from before.

Your old data isn’t deleted. Switch back and it’s all there again. But if you want to keep working with it under the new backend, move it across first:

  • Push images to a registry, or save them with docker save -o images.tar myapp:latest and load them with docker load -i images.tar after switching.
  • Back up each volume to a tar file: docker run --rm -v mydata:/data -v "$PWD":/backup alpine tar czf /backup/mydata.tgz -C /data ., then restore it into a new volume the same way with tar xzf.

Containers themselves are best recreated from your Compose files rather than copied.

Learn more

← All tech tips · Suggest a fix

Back to top