我新的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美元免費積分。
任何幫助,或者任何一個環節工作設置是非常高度讚賞
請運行此命令來顯示docker-machine'docker-machine version'的版本。目前,最新版本是0.12.1。 –
它是'docker-machine version 0.12.0,build 45c69ad' – Zennichimaro
請問你能更新到0.12.1嗎?順便說一下,docker在你的計算機上運行,請運行這個命令來檢查它'systemctl status docker.service'。我們可以按照這個鏈接安裝最新版本的docker-machine https://docs.microsoft.com/en-us/azure/virtual-machines/linux/docker-machine –