【发布时间】:2020-12-16 12:43:49
【问题描述】:
当我从终端在 Wildfly 上运行 kie-workbench 时,我能够 git clone ssh:// .... 成功。当我在 Docker 中运行相同的设置时,连接永远不会发生。
git clone ssh://kie-workbench@localhost:8001/DtsSpace/Eligibility
Cloning into 'Eligibility'...
kex_exchange_identification: Connection closed by remote host
Connection closed by 127.0.0.1 port 8001
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我可以在浏览器的 8080 端口上正常访问工作台。
来自我的 Dockerfile:
####### CUSTOM JBOSS USER ############
USER jboss
WORKDIR $JBOSS_HOME/bin/
####### EXPOSE INTERNAL JBPM GIT PORT ############
EXPOSE 8080 8001
####### RUNNING DROOLS-WB ############
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "-c", "standalone-full.xml"]
来自我的 docker-compose.yml:
version: '3'
services:
kie-wb:
container_name: business-central
image: jatchison/kie-workbench:latest
ports:
- 8080:8080
- 8001:8001
volumes:
- ./.niogit:/opt/jboss/wildfly/bin/.niogit
我之前在 Docker 中成功完成了它,但那是在 Linux 和 Mac 上完成的,那么 Windows 10 是否存在问题?
WILDFLY_VERSION 20.0.1.Final KIE_VERSION 7.42.0.Final
我已经尝试过 Wildfly 和 Workbench 的不同版本和版本组合。
【问题讨论】:
-
我刚刚在 Linux 机器上尝试了相同的设置并得到相同的连接错误。所以它一定是我的设置中的东西。
标签: git docker wildfly drools kie-workbench