图像yaml可在本文档中找到
link
. 我看到它是用openshift企业版自动构建的(
link
) . 但为什么不是起源呢?
我期望它在构建过程中自动恢复图像,但没有发生。
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.