首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Docker PhantomJS 2容器突然停止

Docker PhantomJS 2容器突然停止
EN

Stack Overflow用户
提问于 2017-09-04 23:44:41
回答 1查看 131关注 0票数 0

我使用的是phantomjs docker container,最新版本的wernight/phantomjs。这是链接。https://hub.docker.com/r/wernight/phantomjs/的问题是,当我启动容器时,容器在一段时间(2-3天)后突然停止,并出现以下错误。有谁有什么想法或建议吗?我原样使用exist容器。

代码语言:javascript
复制
    ERROR - 2017-08-29T05:26:36.534Z] RouterReqHand - _handle.error -         
{"stack":"evaluateJavaScript@[native code]\nevaluate@phantomjs://platform/webpage.js:390:39\n_getTextCommand@phantomjs://code/webelement_request_handler.js:341:90\n_handle@phantomjs://code/webelement_request_handler.js:102:28\n_reroute@phantomjs://code/session_request_handler.js:61:20\n_handle@phantomjs://code/session_request_handler.js:120:42\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/router_request_handler.js:78:46","line":390,"sourceURL":"phantomjs://platform/webpage.js"}


phantomjs://platform/console++.js:263 in error
1   0x1b67967 phantomjs() [0x1b67967]
2   0x1b800a9 phantomjs() [0x1b800a9]
3   0x92035b phantomjs() [0x92035b]
4   0x13b9e20 phantomjs() [0x13b9e20]
5   0x13b9f2a phantomjs() [0x13b9f2a]
6   0x13bb9c1 phantomjs() [0x13bb9c1]
7   0x13bcaa4 phantomjs() [0x13bcaa4]
8   0x13bcb6c phantomjs() [0x13bcb6c]
9   0x97bf27 phantomjs() [0x97bf27]
10  0x77e64b phantomjs() [0x77e64b]
11  0x478dc4 phantomjs() [0x478dc4]
12  0x47ad10 phantomjs() [0x47ad10]
13  0x42d613 phantomjs() [0x42d613]
14  0x425e34 phantomjs() [0x425e34]
15  0x41b90c phantomjs() [0x41b90c]
16  0x46ba0b phantomjs() [0x46ba0b]
17  0x46c503 phantomjs() [0x46c503]
18  0x7b6cad phantomjs() [0x7b6cad]
19  0x17fd966 phantomjs() [0x17fd966]
20  0x19db06e phantomjs() [0x19db06e]
21  0x19e7b07 phantomjs() [0x19e7b07]
22  0x19eed55 phantomjs() [0x19eed55]
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html and file a bug report.
EN

回答 1

Stack Overflow用户

发布于 2017-09-05 00:44:57

很难说发生了什么。您可以使用--restart=unless-stopped运行您的容器。这将在容器失败时重新启动容器。

由于PhantomJS不再维护,因此没有人会在论坛上回答您的崩溃报告。因此,最好在问题发生时从问题中恢复过来

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46040451

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档