【问题标题】:I am trying OpenShift origin, I cannot create application我正在尝试 OpenShift 起源,我无法创建应用程序
【发布时间】:2016-05-22 09:59:33
【问题描述】:

我正在 RHEL Atomic 主机上尝试 OO。我按照本指南 https://docs.openshift.org/latest/getting_started/administrators.html

将 OO master 转为容器

将外壳附加到主容器后,我无法部署应用程序。

# oc new-app openshift/deployment-example
error: can't look up Docker image "openshift/deployment-example": Internal  error occurred: Get https://registry-1.docker.io/v2/: net/htt p: request canceled while waiting for connection error: no match for "openshift/deployment-example"

The 'oc new-app' command will match arguments to the following types:

1. Images tagged into image streams in the current project or the 'openshift' project
 - if you don't specify a tag, we'll add ':latest'
2. Images in the Docker Hub, on remote registries, or on the local Docker engine
3. Templates in the current project or the 'openshift' project
4. Git repository URLs or local paths that point to Git repositories

 --allow-missing-images can be used to point to an image that does not exist yet.

See 'oc new-app -h' for examples.

主机需要代理才能访问 Internet。我已经在 /etc/sysconfig/docker 中配置了代理,这就是我可以在同一个地方提取原始图像的方式。

我已经尝试为 master 和 node 设置代理,很幸运 https://docs.openshift.org/latest/install_config/http_proxies.html

【问题讨论】:

标签: openshift-origin


【解决方案1】:

您的代理可能正在终止连接。您可以通过创建内部注册表进行测试,将图像推送到该注册表,然后使用 "oc new-app your.internal.registry/openshift/deployment-example"

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-12-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-01
    相关资源
    最近更新 更多