如何在openshift origin中创建jbossweb的imagestream

如何在openshift origin中创建jbossweb的imagestream,openshift,openshift-origin,Openshift,Openshift Origin,如何在openshift origin中创建和使用jboss Web服务器的imagestream 图像yaml可在本文档中找到。我看到它是用openshift企业版()自动构建的。但为什么不是起源呢 谢谢 我期望它在构建过程中自动恢复图像,但没有发生 D:\docker\apps>oc new-build --image-stream=jboss-webserver31-tomcat7-openshift:1.1 --name=newapp --binary=true warning:

如何在openshift origin中创建和使用jboss Web服务器的imagestream

图像yaml可在本文档中找到。我看到它是用openshift企业版()自动构建的。但为什么不是起源呢

谢谢

我期望它在构建过程中自动恢复图像,但没有发生

D:\docker\apps>oc new-build --image-stream=jboss-webserver31-tomcat7-openshift:1.1 --name=newapp --binary=true
warning: Cannot find git. Ensure that it is installed and in your path. Git is required to work with git repositories.
error: unable to locate any images in image streams with name "jboss-webserver31-tomcat7-openshift:1.1"

The 'oc new-build' 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. Git repository URLs or local paths that point to Git repositories

--allow-missing-images can be used to force the use of an image that was not matched

See 'oc new-build -h' for examples.
因此,我尝试在webconsole中创建导入yaml,但yaml出现以下错误

Failed to process the resource.
Resource is missing kind field.

明白了。显然,必须有人登录

oc import-image my-jboss-webserver-3/webserver31-tomcat7-openshift --from=registry.access.redhat.com/jboss-webserver-3/webserver31-tomcat7-openshift --confirm