The windows system freezes when adjusting the image location of the Docker image

When using the docker of the windows system, the default image location of the docker is stored in

C:\ProgramData\DockerDesktop\vm-data

As we install more images, the capacity of this directory will continue to increase.

If we adjust the position of the image in the docker settings, when clicking apply&restart, docker will always be loading.

Or, after the loading is finished, after restarting docker, it is found that the location of the image is still the default C drive.

This is actually a bug in docker.

https://github.com/docker/for-mac/issues/6803

The solution is to uninstall the current docker and install version 4.16

docker 4.16 for windows

After starting version 4.16, modify the mirror location.

After restarting, confirm that the modification is successful.

Then upgrade to the latest version.

Guess you like

Origin blog.csdn.net/qq_23049111/article/details/132509194