无法部署待办事项;无法删除容器(todos-frontend)

时间:2016-03-08 22:15:50

标签: javascript linux meteor meteorite meteor-up

第一次使用linux和meteor up,很抱歉,如果这是一个愚蠢的错误。我尝试使用mupx部署meteor示例应用程序todos,并按照自述文件中的说明进行操作,但我收到了以下错误。 (我使用的是Ubuntu 14.04 LTS服务器)。谢谢你的帮助。

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 个答案:

答案 0 :(得分:1)

无法删除容器(todos-frontend):来自守护程序的错误响应:没有这样的容器:todos-frontend docker:来自守护程序的错误响应:无法在网桥上创建端点待办事项:绑定0.0.0.0:80失败:端口已分配。

刚出现同样的问题,

最终部署后,在我的部署mup.json中将文件端口号更改为未使用的端口,不知何故,docker服务可以在需要时自动释放端口。到目前为止,我已经使用了80,8000,8001,但我还没有成功部署到同一个端口两次,但是阅读

归功于this

似乎不同的部署可能很容易相互冲突。我没有解决这个问题。