通过Azure Docker注册表使用自定义Docker映像创建Web应用程序容器时,SSH失败 [英] SSH is failing while creating Web apps container using custom docker image through Azure docker registry

查看:113
本文介绍了通过Azure Docker注册表使用自定义Docker映像创建Web应用程序容器时,SSH失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在通过Azure docker注册表使用自定义docker映像创建Web应用程序容器时,SSH失败.尝试ssh时连接被拒绝或主机未知.当映像在我的本地计算机中成功运行时.

SSH is failing while creating Web apps container using custom docker image through Azure docker registry . Getting connection refused or Host unknown while trying to ssh . While the image is successfully running in my local .

这可以帮助我吗

仅供参考.

我已经暴露了端口2222并通过Dockerfile入口点启动ssh服务.我可以使用 基础油6操作系统映像(来自oraclelinux:6)

I have already exposed the port 2222 and starting the ssh service through Dockerfile entry point .I ma using  base oel  6 os image (From oraclelinux:6)

SSH连接关闭-错误:连接ECONNREFUSED  XXXXXXXXXXXXX:2222凭据

推荐答案

您可以按照以下文档中的步骤进行操作,该文档设置了 SSH服务器?

Were you able to follow the steps in the below document, which setup the SSH server?


这篇关于通过Azure Docker注册表使用自定义Docker映像创建Web应用程序容器时,SSH失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆