user5558501
user5558501

Reputation:

OpenShift v3.1: Create app from an image from a remote repository

How do you have to create an application from an image which is pulled from a remote repository. So I have an image pulled from the repo ec2.xxx:5000.

docker pull ec2.xxx:5000/myimage

The pull was successfully. When I perform docker images I see the pulled image

But I'm unable to perform the following:

oc new-project myproject
oc new-app ec2.xxx:5000/myimage

Than I get:

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

Can someone explain me how to create an application from such an image?

Upvotes: 4

Views: 506

Answers (0)

Related Questions