Update oc new-app example to latest imagestream tag name

Open
#127 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
50/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
shell
Domain
documentation

Research direction

Open README.md and find the oc new-app example using httpd:24. Update it to use the openshift/httpd:2.4-el8 imagestream tag shown in the issue, then verify that the documented command matches the intended OpenShift 4.9 usage.

Written by the indexing model from the issue text.

Description

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
Dominant language
Shell
Stars
52
Forks
122
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sclorg/httpd-container

All issues in sclorg/httpd-container

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.