您如何必须从从远程存储库中提取的图像创建应用程序。所以我有一个从 repo ec2.xxx:5000 中提取的图像。
docker pull ec2.xxx:5000/myimage
拉取成功。当我执行时,docker images
我看到拉出的图像
但我无法执行以下操作:
oc new-project myproject
oc new-app ec2.xxx:5000/myimage
比我得到:
The '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
有人可以解释一下如何从这样的图像创建应用程序吗?