我目前正在尝试了解有关OpenShift Origin的更多信息,并在VMWare Fusion上部署了CentOS VM。我按照OpenShift Quickstart指南安装并运行了OpenShift Origin服务器。但是,当我尝试部署测试应用程序时,在部署期间出现以下错误。
添加新应用时,我也收到以下消息
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.**
要在我的VM上成功部署它需要做些什么?我不确定上述警告信息是否与问题有关。
答案 0 :(得分:0)
我错误地认为端口8443 / tcp没有打开。是那样使用
sudo firewall-cmd --zone = public --add-port = 8443 / tcp --permanent
sudo firewall-cmd --reload
它开始工作