Skip to content

Update oc new-app example to latest imagestream tag name #127

Description

@dmc5179

Update oc new-app example to latest imagestream tag name. The current command in the README.md is:

oc new-app httpd:24~https://github.com/sclorg/httpd-ex.git

On OpenShift 4.9 this results in the following message:

oc new-app httpd:24~https://github.com/sclorg/httpd-ex.git
error: multiple images or templates matched "httpd:24"

The argument "httpd:24" could apply to the following container images, OpenShift image streams, or templates:

* Image stream "httpd" (tag "2.4-el7") in project "openshift"
  Use --image-stream="openshift/httpd:2.4-el7" to specify this image or template

* Image stream "httpd" (tag "2.4-el8") in project "openshift"
  Use --image-stream="openshift/httpd:2.4-el8" to specify this image or template

* Image stream "httpd" (tag "latest") in project "openshift"
  Use --image-stream="openshift/httpd:latest" to specify this image or template

Changing the command to the latest imagestream tag name resolves this issue:

oc new-app openshift/httpd:2.4-el8~https://github.com/sclorg/httpd-ex.git

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions