[cloud-user@idm ~]$ oc new-project sai-test Now using project "sai-test" on server "https://api.na46.prod.nextcle.com:6443". You can add applications to this project with the 'new-app' command. For example, try: oc new-app rails-postgresql-example to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application: kubectl create deployment hello-node --image=k8s.gcr.io/serve_hostname [cloud-user@idm ~]$ [cloud-user@idm ~]$ [cloud-user@idm ~]$ oc new-app --name hello-world-nginx https://github.com/RedHatTraining/DO280-apps --context-dir hello-world-nginx --> Found container image 11f9dba (2 years old) from registry.access.redhat.com for "registry.access.redhat.com/ubi8:8.0" Red Hat Universal Base Image 8 ------------------------------ The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly. Tags: base rhel8 * An image stream tag will be created as "ubi8:8.0" that will track the source image * A Docker build using source code from https://github.com/RedHatTraining/DO280-apps will be created * The resulting image will be pushed to image stream tag "hello-world-nginx:latest" * Every time "ubi8:8.0" changes a new build will be triggered --> Creating resources ... imagestream.image.openshift.io "ubi8" created imagestream.image.openshift.io "hello-world-nginx" created buildconfig.build.openshift.io "hello-world-nginx" created deployment.apps "hello-world-nginx" created service "hello-world-nginx" created --> Success Build scheduled, use 'oc logs -f buildconfig/hello-world-nginx' to track its progress. Application is not exposed. You can expose services to the outside world by executing one or more of the commands below: 'oc expose service/hello-world-nginx' Run 'oc status' to view your app. [cloud-user@idm ~]$ [cloud-user@idm ~]$ [cloud-user@idm ~]$ [cloud-user@idm ~]$ oc logs -f buildconfig/hello-world-nginx Cloning "https://github.com/RedHatTraining/DO280-apps" ... Commit: 4bc27b0b30e9b6c872f9668ecf8ec01b83b43137 (Ch11 (#8)) Author: Joel Birchler Date: Tue Jul 20 11:59:14 2021 -0700 Replaced Dockerfile FROM image registry.access.redhat.com/ubi8:8.0 Caching blobs under "/var/cache/blobs". Pulling image registry.access.redhat.com/ubi8@sha256:8275e2ad7f458e329bdc8c0e7543cff1729998fe515a281d49638246de8e39ee ... Getting image source signatures Copying blob sha256:641d7cc5cbc48a13c68806cf25d5bcf76ea2157c3181e1db4f5d0edae34954ac Copying blob sha256:c65691897a4d140d441e2024ce086de996b1c4620832b90c973db81329577274 Copying config sha256:11f9dba4d1bc7bbead64adb8fd73ea92dca5fac88a9b5c2c9796abcf2e97846d Writing manifest to image destination Storing signatures STEP 1: FROM registry.access.redhat.com/ubi8@sha256:8275e2ad7f458e329bdc8c0e7543cff1729998fe515a281d49638246de8e39ee STEP 2: RUN yum install -y --disableplugin=subscription-manager --nodocs nginx && yum clean all time="2022-06-02T12:43:49Z" level=warning msg="Path \"/run/secrets/etc-pki-entitlement\" from \"/etc/containers/mounts.conf\" doesn't exist, skipping" time="2022-06-02T12:43:49Z" level=warning msg="Path \"/run/secrets/redhat.repo\" from \"/etc/containers/mounts.conf\" doesn't exist, skipping" Red Hat Universal Base Image 8 (RPMs) - AppStre 976 kB/s | 2.0 MB 00:02 Red Hat Universal Base Image 8 (RPMs) - BaseOS 741 kB/s | 783 kB 00:01 No match for argument: nginx Error: Unable to find a match error: build error: error building at STEP "RUN yum install -y --disableplugin=subscription-manager --nodocs nginx && yum clean all": error while running runtime: exit status 1 [cloud-user@idm ~]$