Oc new-project: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * oc =Overview=") |
No edit summary |
||
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
<pre> | |||
[root@ip-192-199-0-199 ec2-user]# oc new-app openshift/hello-openshift:v1.1.1.1 -n pizzaparty-dev | |||
--> Found Docker image fa30db8 (15 months old) from Docker Hub for "openshift/hello-openshift:v1.1.1.1" | |||
* An image stream will be created as "hello-openshift:v1.1.1.1" that will track this image | |||
* This image will be deployed in deployment config "hello-openshift" | |||
* Ports 8080/tcp, 8888/tcp will be load balanced by service "hello-openshift" | |||
* Other containers can access this service through the hostname "hello-openshift" | |||
* WARNING: Image "openshift/hello-openshift:v1.1.1.1" runs as the 'root' user which may not be permitted by your cluster administrator | |||
--> Creating resources ... | |||
imagestream "hello-openshift" created | |||
deploymentconfig "hello-openshift" created | |||
service "hello-openshift" created | |||
--> Success | |||
Run 'oc status' to view your app. | |||
</pre> |
Revision as of 20:05, 16 May 2017
Internal
Overview
[root@ip-192-199-0-199 ec2-user]# oc new-app openshift/hello-openshift:v1.1.1.1 -n pizzaparty-dev --> Found Docker image fa30db8 (15 months old) from Docker Hub for "openshift/hello-openshift:v1.1.1.1" * An image stream will be created as "hello-openshift:v1.1.1.1" that will track this image * This image will be deployed in deployment config "hello-openshift" * Ports 8080/tcp, 8888/tcp will be load balanced by service "hello-openshift" * Other containers can access this service through the hostname "hello-openshift" * WARNING: Image "openshift/hello-openshift:v1.1.1.1" runs as the 'root' user which may not be permitted by your cluster administrator --> Creating resources ... imagestream "hello-openshift" created deploymentconfig "hello-openshift" created service "hello-openshift" created --> Success Run 'oc status' to view your app.