ManageIQ docker容器不能与Web浏览器连接 [英] ManageIQ docker container cannot not be connected with web browser
问题描述
我尝试将manageiq监控测试为hawkular。我使用以下命令创建了manageiq docker容器
I try to test manageiq monitoring to hawkular. I made manageiq docker container with the following commands
docker pull manageiq/manageiq:euwe-1
docker run --privileged -d -p 8443:443 manageiq/manageiq:euwe-1
我可以看到容器是生成并运行。但是,我无法使用此网址浏览器使用此网址 https://127.0.0.1:8443 连接到ManageIQ。在manageiq docker container里面的日志文件中显示如下错误,
I can see the container be generated and run. However I can not connect to ManageIQ with my web browser with this url https://127.0.0.1:8443 . In log files of manageiq docker container inside show the error like below,
[ssl:warn] [pid 815] AH01909: RSA certificate configured for 172.17.0.2:443 does NOT include an ID which matches the server name
[ssl:warn] [pid 815] AH01909: RSA certificate configured for 172.17.0.2:443 does NOT include an ID which matches the server name
[proxy:error] [pid 816] (111)Connection refused: AH00957: HTTP: attempt to connect to 0.0.0.0:3000 (0.0.0.0) failed
[proxy:error] [pid 816] AH00959: ap_proxy_connect_backend disabling worker for (0.0.0.0) for 60s
[proxy_http:error] [pid 816] [client 172.17.0.1:39140] AH01114: HTTP: failed to make connection to backend: 0.0.0.0
[proxy:error] [pid 819] (111)Connection refused: AH00957: HTTP: attempt to connect to 0.0.0.0:3000 (0.0.0.0) failed
[proxy:error] [pid 819] AH00959: ap_proxy_connect_backend disabling worker for (0.0.0.0) for 60s
[proxy_http:error] [pid 819] [client 172.17.0.1:39146] AH01114: HTTP: failed to make connection to backend: 0.0.0.0, referer: https://localhost:8443/
推荐答案
我被告知在配置中修改docker容器是不合适的,并且必须在docker容器之外配置docker网络。所以这是我的决议。
I was informed that modifying the docker container inside configuration was not appropriate and have to configure the docker network outside the docker container. So this is my resolution.
- Windows 10:这个网站是用韩文写的。我希望你能找到并阅读英文网站。 ^ _ ^
- CentOS 7,Firefox网络浏览器,
环境配置=>安全=>例外列表按钮
=>添加 https:// localhost:8443 / URL
"Environment Configuration" => "Security" => "Exception List" Button => Add "https://localhost:8443/" URL
最后用参考网站
这篇关于ManageIQ docker容器不能与Web浏览器连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!