我的Dockerfile包含以下内容:但是,如果我使用-P运行映像,就无法连接到它。使用-p 80:80运行很好。# Can't connect here curl: (7) Failed to connectto localhost port 80: Connection refused
danny@linux:~$ sudo dock
我尝试连接一个可从主机(Windows10Enterprise)系统访问的远程弹性集群。 我通过curl https://url.to.target:443测试了主机的连接。当我在webserver-container (Debian GNU/Linux 10 (buster))中尝试相同的方法时,它失败了,原因是: curl: (60) SSL certificate problem: unable to get local issuer certificate
More