2016-03-08 66 views
1

第一次用linux和流星,很抱歉如果有一個愚蠢的錯誤。我嘗試使用mupx部署流星示例應用程序todos,並按照自述文件中的說明進行操作,但出現以下錯誤。 (我使用Ubuntu 14.04 LTS服務器)。感謝幫助。無法部署待辦事項;無法刪除容器(todos-frontend)

Configuration file : mup.json 
Settings file : settings.json 

「 Checkout Kadira! 
It's the best way to monitor performance of your app. 
Visit: https://kadira.io/mup 」 

Meteor app path : /home/jan/todos 
Using buildOptions : {} 
Currently, it is only possible to build iOS apps on an OS X system. 

Started TaskList: Deploy app 'todos' (linux) 
[h2544161.stratoserver.net] - Uploading bundle 
[h2544161.stratoserver.net] - Uploading bundle: SUCCESS 
[h2544161.stratoserver.net] - Sending environment variables 
[h2544161.stratoserver.net] - Sending environment variables: SUCCESS 
[h2544161.stratoserver.net] - Initializing start script 
[h2544161.stratoserver.net] - Initializing start script: SUCCESS 
[h2544161.stratoserver.net] - Invoking deployment process 
Invoking deployment process: FAILED 
-----------------------------------STDERR----------------------------------- 
Failed to remove container (todos-frontend): Error response from daemon: No such container: todos-frontend 
docker: Error response from daemon: failed to create endpoint todos on network bridge: Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use. 
-----------------------------------STDOUT----------------------------------- 
todos 
base: Pulling from meteorhacks/meteord 
518dc1482465: Already exists 
a3ed95caeb02: Already exists 
a3ed95caeb02: Already exists 
a3ed95caeb02: Already exists 
537c534356b6: Already exists 
b65a0e1e554b: Already exists 
a3ed95caeb02: Already exists 
a3ed95caeb02: Already exists 
Digest: sha256:b5a4f6efa98e4070792ed36d33b14385a28e6ceda691a492ee5b9f2431b1515a 
Status: Image is up to date for meteorhacks/meteord:base 
d6d192579495851d5817288ff89abb69512562d7c2a7075f965484e64583c61b 
+1

這不是一個好問題,因爲你只告訴我們你有問題,但我們不能幫助。你應該明白爲什麼你的'todos-frontend'給你帶來問題,因爲他說沒有這樣的容器。 –

回答

1

無法移除容器(待辦事項-前端):從守護程序錯誤響應:沒有這樣的容器:待辦事項-前端 搬運工:從守護程序錯誤響應:無法創建端點待辦事項上網橋:爲0.0綁定.0.0:80失敗:端口已分配。

剛剛有同樣的問題,

最後部署更改文件的端口號爲未使用的端口在我的部署mup.json莫名其妙搬運工服務時,它要能自動釋放口後。我用80,8000,8001,但迄今爲止我還沒有成功部署到同一端口兩次,但閱讀

信貸this

看來,不同的部署可能互相沖突很容易。我沒有解決這個問題。

+0

是的,改變港口的作品,謝謝:) – equalsound