Docker Community Forums

Share and learn in the Docker community.

Failed to import images created in docker-toolbox, to Docker Desktop in Windows Home

Hi,
I followed this tutorial to migrate from docker-toolbox to Docker Desktop in Windows 10 Home.

This is the part where you migrate your existing containers to the new Docker Desktop.

Migrate from Docker Toolbox to Docker Desktop on Windows

You can migrate existing Docker Toolbox images with the steps described below.

In a terminal, while running Toolbox, use docker commit to create an image snapshot from a container, for each container you wish to preserve:

> docker commit nginx
sha256:1bc0ee792d144f0f9a1b926b862dc88b0206364b0931be700a313111025df022

Next, export each of these images (and any other images you wish to keep):

> docker save -o nginx.tar sha256:1bc0ee792d144f0f9a1b926b862dc88b0206364b0931be700a313111025df022

Next, when running Docker Desktop on Windows, reload all these images:

> docker load -i nginx.tar
Loaded image ID: sha256:1bc0ee792d144f0f9a1b926b862dc88b0206364b0931be700a313111025df0

=========================================================

But when executing the load step I get this error:

docker load -i graphstackPruebas.tar
error during connect: Post https://192.168.99.100:2376/v1.24/images/load?quiet=0: dial tcp 192.168.99.100:2376: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

192.168.99.100 is the IP of the VirtualBox on which the docker-toolbox was running, and containers exposed their ports in this address.
But you can’t run both toolbox and Desktop at the same time due to virtualization issues.

I need to load this customized images into the Docker Desktop in order to continue working.
I’ll appreciate any help.

Thank you!