OpenShift Container Platform 4.5 Applications $ oc new-app myproject/my-ruby~https://github.com/openshift/ruby-hello-world.git To use the  openshift/ruby-20-centos7:latest  container image stream with the source in a local repository: $ oc new-app openshift/ruby-20-centos7:latest~/home/user/code/my-ruby-app Language detection requires the Git client to be locally installed so that your repository can be cloned and inspected. If Git is not available, you can avoid the language detection step by specifying the builder image to use with your repository with the  <image>~ <repository>  syntax. The  -i <image> <repository>  invocation requires that  new-app  attempt to clone  repository  in order to determine what type of artifact it is, so this will fail if Git is not available. The  -i <image> --code <repository>  invocation requires  new-app  clone  repository  in order to determine whether  image  should be used as a builder for the source code, or deployed separately, as in the case of a database image. You can deploy an application from an existing image. Images can come from image streams in the OpenShift Container Platform server, images in a specific registry, or images in the local Docker server. The  new-app  command attempts to determine the type of image specified in the arguments passed to it. However, you can explicitly tell  new-app  whether the image is a container image using the  --docker- image  argument or an image stream using the  -i|--image-stream  argument. If you specify an image from your local Docker repository, you must ensure that the same image is available to the OpenShift Container Platform cluster nodes. Create an application from the Docker Hub MySQL image, for example: $ oc new-app mysql Create an application using an image in a private registry, specify the full container image specification: $ oc new-app myregistry:5000/example/myimage Create an application from an existing image stream and optional image stream tag: 2.3.2. Creating an application from an image NOTE 2.3.2.1. Docker Hub MySQL image 2.3.2.2. Image in a private registry 2.3.2.3. Existing image stream and optional image stream tag NOTE 24