We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49be6f1 commit c2d44adCopy full SHA for c2d44ad
README.md
@@ -0,0 +1,22 @@
1
+# Running existing images on OpenShift
2
+
3
+## Description
4
5
+This demonstrates running an existing spring boot example application docker image hosted on quay.io
6
7
+## Docker Command Example
8
+```
9
+docker run -p 8080:8080 quay.io/cloudfirst/spring-boot-helloworld:v0.2
10
11
12
+## OpenShift Command Example
13
+Run the following command to run the docker image and then expose the port
14
15
+oc new-app quay.io/cloudfirst/spring-boot-helloworld:v0.2
16
+oc expose svc/spring-boot-helloworld
17
18
19
+Run the following to get the route url
20
21
+oc get route spring-boot-helloworld --template="http://{{ .spec.host }}"
22
0 commit comments