0
我尝试在码头云上使用我的web.war应用程序启动码头9容器。 泊坞窗图像在我的电脑上运行良好,但在启动后停止在Docker云上运行。 下面是日志:无法在Docker云上启动码头容器
2016-07-25T06:15:47.715314954Z 2016-07-25 06:15:47.710:INFO::main: Logging initialized @2842ms
2016-07-25T06:15:49.046489560Z 2016-07-25 06:15:49.044:INFO:oejs.SetUIDListener:main: Setting umask=02
2016-07-25T06:15:49.138996816Z 2016-07-25 06:15:49.129:INFO:oejs.SetUIDListener:main: Opened [email protected]{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2016-07-25T06:15:49.139810374Z 2016-07-25 06:15:49.139:INFO:oejs.SetUIDListener:main: Setting GID=999
2016-07-25T06:15:49.141398414Z 2016-07-25 06:15:49.140:INFO:oejs.SetUIDListener:main: Setting UID=999
2016-07-25T06:15:49.151743756Z 2016-07-25 06:15:49.151:INFO:oejs.Server:main: jetty-9.3.10.v20160621
2016-07-25T06:15:49.259705382Z 2016-07-25 06:15:49.259:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///var/lib/jetty/webapps/] at interval 1
我dockerfile:
FROM jetty:latest
MAINTAINER Oreste Viron <*************>
COPY target/web.war /var/lib/jetty/webapps/web.war
USER root
RUN chmod a+r /var/lib/jetty/webapps/web.war
而且我stackfile:
appdb:
image: 'sim/app_db:latest'
environment:
- POSTGRES_PASSWORD=****
appweb:
image: 'sim/app_web:latest'
links:
- appdb
ports:
- '8080:8080'
我什么也没看到谁可以帮我知道什么是错的。 有没有人有任何建议来帮助我找到我的错误?
谢谢。