mirror of https://github.com/docker/docs.git
Update docker-toolbox.md
This commit is contained in:
parent
f36feeaadc
commit
219ff06eb3
|
@ -1,24 +1,24 @@
|
|||
---
|
||||
description: Docker for Windows and Docker Toolbox
|
||||
description: Docker Desktop for Windows and Docker Toolbox
|
||||
keywords: windows, alpha, beta, toolbox, docker-machine, tutorial
|
||||
title: Migrate Docker Toolbox
|
||||
---
|
||||
|
||||
This page explains how to migrate your Docker Toolbox disk image, or images if
|
||||
you have them, to Docker for Windows.
|
||||
you have them, to Docker Desktop for Windows.
|
||||
|
||||
In version 18.01.0 and higher, the Docker for Windows installer no longer
|
||||
In version 18.01.0 and higher, the Docker Desktop for Windows installer no longer
|
||||
prompts users to migrate from Docker Toolbox--you must do so manually.
|
||||
|
||||
## How to migrate Docker Toolbox disk images to Docker for Windows
|
||||
## How to migrate Docker Toolbox disk images to Docker Desktop for Windows
|
||||
|
||||
> **Warning**: Migrating disk images from Docker Toolbox _clobbers_ Docker
|
||||
> images if they exist. The migration process replaces the entire VM with your
|
||||
> previous Docker Toolbox data.
|
||||
|
||||
1. Install [qemu](https://www.qemu.org/){: target="_blank" class="_"} (a machine emulator): [https://cloudbase.it/downloads/qemu-img-win-x64-2_3_0.zip](https://cloudbase.it/downloads/qemu-img-win-x64-2_3_0.zip).
|
||||
2. Install [Docker for Windows](install/){: target="_blank" class="_"}.
|
||||
3. Stop Docker for Windows, if running.
|
||||
2. Install [Docker Desktop for Windows](install/){: target="_blank" class="_"}.
|
||||
3. Stop Docker Desktop for Windows, if running.
|
||||
4. Move your current Docker VM disk to a safe location:
|
||||
|
||||
```shell
|
||||
|
@ -31,7 +31,7 @@ prompts users to migrate from Docker Toolbox--you must do so manually.
|
|||
qemu-img.exe convert 'C:\Users\<username>\.docker\machine\machines\default\disk.vmdk' -O vhdx -o subformat=dynamic -p 'C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx'
|
||||
```
|
||||
|
||||
6. Restart Docker for Windows (with your converted disk).
|
||||
6. Restart Docker Desktop for Windows (with your converted disk).
|
||||
|
||||
## How to uninstall Docker Toolbox
|
||||
|
||||
|
|
Loading…
Reference in New Issue