error: fatal: unable to access 'https://github.com/openshift/cakephp-ex.git/': Could not resolve ho

本文档介绍了在 OpenShift 环境中遇到的构建失败问题,包括系统环境的要求,如必须以root身份启动,正确配置或禁用firewalld,以及确保DNS设置正确。当构建失败时,可通过检查构建日志来定位问题,如无法解析主机名,可能需要重启Docker并重新提交构建。
摘要由CSDN通过智能技术生成

System Environment

  1. Run as root.

    Currently OpenShift v3 must be started as root in order to manipulate your iptables configuration. The openshift commands (e.g. oc create) do not need to be run as root.

  2. Properly configure or disable firewalld.

    On Fedora or other distributions using firewalld: Add docker0 to the public zone

     $ firewall-cmd --zone=trusted --change-interface=docker0
     $ systemctl restart firewalld
    

    Alternatively you can disable it via:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值