首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >OpenShift源快速入门错误: getsockopt:没有到虚拟机上主机172.30.0.1的路由

OpenShift源快速入门错误: getsockopt:没有到虚拟机上主机172.30.0.1的路由
EN

Stack Overflow用户
提问于 2017-12-24 00:56:56
回答 1查看 625关注 0票数 0

我目前正在尝试了解更多关于OpenShift源的知识,并在VMWare融合上部署了一个CentOS VM。我按照OpenShift快速入门指南安装并运行了OpenShift源服务器。但是,当我尝试部署测试应用程序时,在部署过程中得到以下错误。

在添加新的-app时,我也收到以下消息

oc new-app openshift/deployment-example    
--> Found Docker image 1c839d8 (2 years old) from Docker Hub for "openshift/deployment-example"    
    * An image stream will be created as "deployment-example:latest" that will track this image    
    * This image will be deployed in deployment config "deployment-example"    
    * Port 8080/tcp will be load balanced by service "deployment-example"    
      * Other containers can access this service through the hostname "deployment-example"    
    * WARNING: Image "openshift/deployment-example" runs as the 'root' user which may not be permitted by your cluster administrator

--> Creating resources ...
    imagestream "deployment-example" created
    deploymentconfig "deployment-example" created
    service "deployment-example" created
--> Success
    **WARNING: No Docker registry has been configured with the server. Automatic builds and deployments may not function.**

需要执行哪些操作才能在我的虚拟机上成功部署它?我不确定上面的警告消息是否与该问题有关。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-12-26 04:32:34

我弄错了端口8443/tcp没有打开。是不是用了

sudo firewall-cmd --zone=public --add-port=8443/tcp --permanent

sudo firewall-cmd --reload

它开始工作了

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/47954295

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档