设置蔚蓝机泊坞窗玩耍的框架应用

问题描述:

我新的Azure和试图建立以下这篇文章我dockerized播放框架2.5.X应用有:设置蔚蓝机泊坞窗玩耍的框架应用

Azure Linux Docker Machine setup

但是,它总是失败在第一命令:

docker-machine create -d azure \ 
--azure-subscription-id $sub \ 
--azure-ssh-user azureuser \ 
--azure-open-port 80 \ 
myvm 

错误:

Provisioning with ubuntu(systemd)... 
Installing Docker... 
Copying certs to the local machine directory... 
Copying certs to the remote machine... 
Setting Docker configuration on the remote daemon... 
Error creating machine: Error running provisioning: ssh command error: 
command : sudo systemctl -f start docker 
err  : exit status 1 
output : Job for docker.service failed because the control process exited 
with error code. See "systemctl status docker.service" and "journalctl -xe" 
for details. 

微软网站上有很多关于azure安装的文章,但所有东西都是零碎的。我经历了很多这样的事情,他们只是在我的仪表板中添加了新条目,这些新条目只是增加了我的账单,但我仍然无法访问任何这些条目来部署我的应用。这真是令人沮丧,因为我花了几天时间,几乎耗尽了我的200美元免费积分。

任何帮助,或者任何一个环节工作设置是非常高度赞赏

+0

请运行此命令来显示docker-machine'docker-machine version'的版本。目前,最新版本是0.12.1。 –

+0

它是'docker-machine version 0.12.0,build 45c69ad' – Zennichimaro

+0

请问你能更新到0.12.1吗?顺便说一下,docker在你的计算机上运行,​​请运行这个命令来检查它'systemctl status docker.service'。我们可以按照这个链接安装最新版本的docker-machine https://docs.microsoft.com/en-us/azure/virtual-machines/linux/docker-machine –

根据你的描述,也许我们应该更新docker-machine的版本最新版本。

People cannot use the command to create a docker host. The issue has been fixed in 0.12.1, and actually, the 0.12.2 has been released for a while. However, the version of docker-machine inside Docker for Mac is still 0.12.0.

docker-machine 0.12.0有一个严重的问题,请参见本link

+0

没有这样做,它正在开发aws,但我会尝试一次,当我回到蔚蓝再次 – Zennichimaro

+0

@Zennichimaro你不能登录Azure虚拟机?错误的私钥?或者这个虚拟机没有运行? –

+0

@ Zennichimaro虚拟机是否运行,或者当我们尝试登录时,错误是“Permission denied(publickey)”? –