76912792 发表于 2022-3-27 15:31:53

求助:使用docker启动onlyoffice集成版的问题

虚拟机运行docker

sudo docker run --name o2oa -it -p 8088:80 o2oa/onlyoffice:7.0.5 运行中容器三番五次莫名奇妙的停止了,想看看日志,
sudo docker run --name o2oa -it -p 8088:80 -v /home/app/o2oa/config:/opt/o2server/config-v /home/app/o2oa/data:/opt/o2server/local/repository/data -v /home/app/o2oa/logs:/opt/o2server/logso2oa/onlyoffice:7.0.5
将配置文件和日志挂载出来,运行登录网页无法打开
错误信息
2022/03/27 07:27:32 6674#6674: *9 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.29.100, server: , request: "GET /x_desktop/index.html HTTP/1.1", upstream: "http://127.0.0.1:8080/x_desktop/index.html", host: "192.168.29.128:8088"
2022/03/27 07:27:41 6674#6674: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.29.100, server: , request: "GET /x_desktop/res/config/config.json?v=7.0&l18ylc6v HTTP/1.1", upstream: "http://127.0.0.1:8080/x_desktop/res/config/config.json?v=7.0&l18ylc6v", host: "192.168.29.128:8088", referrer: "http://192.168.29.128:8088/x_desktop/index.html"
2022/03/27 07:27:44 6674#6674: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.29.100, server: , request: "PUT /x_organization_assemble_personal/jaxrs/custom/layout?v=7.0 HTTP/1.1", upstream: "http://127.0.0.1:8080/x_organization_assemble_personal/jaxrs/custom/layout?v=7.0", host: "192.168.29.128:8088", referrer: "http://192.168.29.128:8088/x_desktop/index.html"



Ray 发表于 2022-3-28 11:04:24

config目录里有设置过的内容,如果直接-v进去要手动拷贝出来再v进去.
页: [1]
查看完整版本: 求助:使用docker启动onlyoffice集成版的问题