2017-08-01 58 views
0

我新的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 –

回答

1

根據你的描述,也許我們應該更新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)」? –