Skip to content

Commit

Permalink
Add switching to new docker provider to docker provider article (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay authored Nov 30, 2023
1 parent 01cc674 commit a1210b3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/content/blog/docker-providers.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "New DDEV Docker Providers for macOS"
pubDate: 2023-11-29
#modifiedDate: 2023-11-29
modifiedDate: 2023-11-30
summary: "DDEV now supports OrbStack and Rancher Desktop as Docker Providers. And what is a Docker Provider anyway?"
author: "Randy Fay"
featureImage:
Expand Down Expand Up @@ -74,3 +74,15 @@ You can easily try out any of these Docker providers without breaking anything.
5. If `docker ps` doesn't have an error you're ready to go. Start a DDEV project and explore.

This technique won't break anything on your system, assuming you have a little disk space available and follow that path.

## Switching to a New Docker Provider with DDEV

If you've tried out a new Docker provider and have decided to switch, use [this tip from the FAQ](https://ddev.readthedocs.io/en/latest/users/usage/faq/#how-can-i-migrate-from-one-docker-provider-to-another).

The bottom line is:

* On the old Docker Provider, `ddev snapshot --all` will create database snapshots of all your registered projects (the ones that show up in `ddev list`).
* Then stop the old Docker Provider and start the new one.
* `ddev snapshot restore --latest` in each of your projects will restore the database snapshots.

Note that OrbStack has built-in migration from Docker Desktop; it prompts you at install time. I haven't tried that out.

0 comments on commit a1210b3

Please sign in to comment.