docker upgrade, docker update boot2docker.iso, image lost, accelerator

14.12 Docker update boot2docker.iso

https://blog.csdn.net/rickyit/article/details/72772552

When the Docker Quickstart Terminal starts, it will upgrade the boot2docker.iso inexplicably. Sometimes the network is not available, which will cause the upgrade to fail and the startup to fail.

Solution: You need todownload the latest version from https://github.com/boot2docker/boot2docker/releases and copy it to the C:\Users\Administrator\.docker\machine\cachedirectory.

After copying it, disconnect the network and then start docker .

Sometimes you need to uninstall docker, then you need to uninstall the virtual box completely.

Virtual box should be completely deleted and then reinstall docker .

删除user/administrator/.docker,.virtual box

I just tossed docker and virtual box repeatedly . First , after docker upgraded boot2docker.iso , all the images and containers disappeared.

Then the network failed . After uninstalling docker and reinstalling it, it was re-upgraded. As a result, the boot2docker.iso could not be downloaded. It was finally downloaded. After the virtual box was started, it was found that the uiid was not correct. Therefore, after uninstalling docker, it is necessary to delete the related folders of docker and virtualbox.

accelerator

docker-machinessh default

sudo sed -i"s|EXTRA_ARGS='|EXTRA_ARGS='--registry-mirror= http://ffbde4f1.m.daocloud.io |g" /var/lib/boot2docker/profile

exit

docker-machinerestart default

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325532730&siteId=291194637