1

第一次使用 linux 和流星,如果有一个愚蠢的错误,很抱歉。我尝试使用 mupx 部署流星示例应用程序 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
4

1 回答 1

1

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

刚遇到同样的问题

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

归功于

似乎不同的部署可能很容易相互冲突。我对此没有任何解决办法。

于 2016-03-09T09:54:17.873 回答