cancel
Showing results for 
Search instead for 
Did you mean: 
hsamaras
Mission Specialist
Mission Specialist
  • 839 Views

DO101 Error when trying to create new Application in OC

C:\OC\openshift-client-windows-4.4.10>oc new-app --name version git@github.com:getposition/DO101-apps.git#update-app --context-dir version
warning: Cannot find git. Ensure that it is installed and in your path. Git is required to work with git repositories.
error: unable to load template file "git@github.com:getposition/DO101-apps.git#update-app": the path "git@github.com:getposition/DO101-apps.git#update-app" cannot be accessed: CreateFile git@github.com:getposition/DO101-apps.git#update-app: The filename, directory name, or volume label syntax is incorrect.
error: git ls-remote failed with: git binary not available; local file access failed with: CreateFile git@github.com:getposition/DO101-apps.git#update-app: The filename, directory name, or volume label syntax is incorrect.
error: unable to locate any images in image streams, templates loaded in accessible projects, template files, local docker images with name "git@github.com:getposition/DO101-apps.git#update-app"

Argument 'git@github.com:getposition/DO101-apps.git#update-app' was classified as an image, image~source, or loaded template reference.

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.

Labels (1)
0 Kudos
0 Replies
Join the discussion
You must log in to join this conversation.