docker-machine 无法创建初始化DOCKER宿主机
直接上LOG,试了很多次都不行,有人用过这个命令吗?在国际版上没有问题
C:\Users\LeiXu>docker-machine create --driver azure --azure-subscription-id 【MYID】--azure-environment "AzureChinaCloud" --azure-location "chinanorth" --azure-open-port 80 mydockerhostchina
Running pre-create checks...
(mydockerhostchina) Registering subscription to resource provider. subs="【MYID】" ns="Microsoft.Network"
(mydockerhostchina) Completed machine pre-create checks.
Creating machine...
(mydockerhostchina) Querying existing resource group. name="docker-machine"
(mydockerhostchina) Creating resource group. name="docker-machine" location="chinanorth"
(mydockerhostchina) Configuring availability set. name="docker-machine"
(mydockerhostchina) Configuring network security group. name="mydockerhostchina-firewall" location="chinanorth"
(mydockerhostchina) Querying if virtual network already exists. name="docker-machine-vnet" location="chinanorth"
(mydockerhostchina) Configuring subnet. name="docker-machine" vnet="docker-machine-vnet" cidr="192.168.0.0/16"
(mydockerhostchina) Creating public IP address. name="mydockerhostchina-ip" static=false
(mydockerhostchina) Creating network interface. name="mydockerhostchina-nic"
(mydockerhostchina) Creating storage account. name="vhdsjctfj5hm2kkmvvne70pa" location="chinanorth"
(mydockerhostchina) Creating virtual machine. osImage="canonical:UbuntuServer:15.10:latest" name="mydockerhostchina" location="chinanorth" size="Standard_A2" username="docker-user"
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(systemd)...
Installing Docker...
Error getting SSH command to check if the daemon is up: Something went wrong running an SSH command!
command : sudo docker version
err : Process exited with: 1. Reason was: ()
output : sudo: docker: command not found
Error getting SSH command to check if the daemon is up: Something went wrong running an SSH command!
command : sudo docker version
err : Process exited with: 1. Reason was: ()
output : sudo: docker: command not found
运行以后到portal里面可以看到资源组和里面的资源,包括虚拟机都已经创建了,但是docker-machine无法连接。