Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with OpenShift 3.4 #2

Open
stevef1uk opened this issue Feb 4, 2017 · 1 comment
Open

Help with OpenShift 3.4 #2

stevef1uk opened this issue Feb 4, 2017 · 1 comment

Comments

@stevef1uk
Copy link

stevef1uk commented Feb 4, 2017

Hi,

The command:
oc new-app wildfly:latest~https://github.com/gshipley/book-insultapp.git

is not being recognised by oc v3.4:
oc v3.4.1.2
kubernetes v1.4.0+776c994
features: Basic-Auth

Server https://10.1.2.2:8443
openshift v3.3.1.5
kubernetes v1.3.0+52492b4

When I run the command I get:
error: no match for "wildfly:latest"

The 'oc 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

--allow-missing-images can be used to point to an image that does not exist yet.

See 'oc new-app -h' for examples.

This worked fine on the previous oc version

@gnunn1
Copy link

gnunn1 commented Feb 12, 2017

The Wildfly imagestream is no longer included with 3.4 by default, you would need to add it manually first:

oc create -f https://raw.githubusercontent.com/luciddreamz/library/master/community/wildfly/imagestreams/wildfly-centos7.json

And then create the application:

oc new-app wildfly:latest~https://github.com/gshipley/book-insultapp.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants