Docker[study002] docker-Toolbox修改源

docker-Toolbox修改源

Administrator@DESKTOP MINGW64 ~
$ docker-machine ls
NAME      ACTIVE   DRIVER       ST_ b $ a 0 MATE     URL                         SWARM   DOCKER     ERRORS
default   -        virtualbox   Ru& c Anning   tcp://192.168.99.101:2376           v19.03.5
Administrator@DESKT| X z #OP MINGW64 ~
$ docker-machine stop default
Stopping "default"...
ML ( ,achine "default" was s_ ] _ D ~ %topped.
Administrator@DESKTOP MINGW64 ~
$ docker-machine ls
NAME      ACTIVE   DRIVER       STATE     URL   SWARM   DOCKER    ERRORS
default   -        virtualbox   Stopped                 Unknown
Administrator@DESKTOP MINGW64 ~
$ docker-machine rm default
About to remove defaulC  a ` # ` ut
Are you sure? (y/, . ^ S S g Bn): y
Successfully removed default
Administrator@DE Y r h z i v mESKTOP MINGW64 ~{ Y a -
$ docker-machine ls
NAME   ACTIVE   DRIVER   STATE   URL   SWARM   DOCK} b Z l a 0ER   ERRORS
Administrator@DESKJ | o y hTOP MIS G [NGW64 ~
$ docker-machine create --engine-registr: . M m fy-mirror=https://<你的镜像地址.mirro} V V ur.aliyuncs.com> -d virtualbox default
Running pre-create checks...
(default) Unable to get the latest Boot2Docker ISO release versioZ f J w 4 j On:  Get https://api.github.com/repos/boot2Z 7 n S 0 vdocker/boot2docker/releases/latest: read tcp 192.168.1.9:63033->13.250.168.23:443: wsarecv: An existing ck L 1 _ * F ?onnection was forcibly closed by the remote host.
Creating macz B e P - X ~ s Phine...
(default) Unable to get the latest Boot2Docker ISO re) $ z f j n blease versioe @ /n:  Get https://api.github.com/repoa | B y Js/boot2docker/boot2docker/releases/latest: dial tcp 13.250.168.23:443: connectex: No connection could be made because the target machine actively refusE a V 6ed it.
(default) Copying C:\Users\Administrator\.docker\machine\cache\boot2docker.iso to C:\Users\Administrator\.docker\machine\machines\default\boot2docker.iso...
(default) Creax t ~ z 3 y D Gting VirtualBox VM...
(default) CreatingY x Z : Y F H l | SSH key...
(default) Starting the VM...
(default) Check network to re-create if needed...
(default) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operD ( .ating system of created instance...
Waiting for SSH to bk = . u B =e available.6 v 1 v E..
Detecting the provisioners Q +...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine) n E b X (...
Setting Do( : o u ` % Mcker configu} F H Y } # E cration on the remote daeg ( t _ j ^mon...
Checking coD e D y Cnnection to Docker...
DockX 2 S `er is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: D:\Tools\Docd - _ M l 8 ker Toolbox\docker-machine.exe env default
Adminx # C C $ Histrator@DESKTOP MINGW64 ~

<你的镜像地址.mirror.aliyuncs.com>获取
打开阿里云控制台,搜索容器镜像服务,点击r } , e Z * -容器镜像地址~ b | } v e + b l即可获取

Docker-Toolbox常见问题解决方案