OpenShift Create an Application from a Docker Image: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
oc new-app <''[[Docker_Concepts#URL|docker-repository-URL]]''> | oc new-app <''[[Docker_Concepts#URL|docker-repository-URL]]''> | ||
Example: | Example: | ||
oc new-app docker.io/sonatype/nexus3:latest | oc new-app docker.io/sonatype/nexus3:latest | ||
The utility creates an image stream, a deployment config and a service in the ''current project'' | |||
For more details on how to deploy a production-ready Nexus instance starting with oc new-app <''nexus-image-url''>, go to: | For more details on how to deploy a production-ready Nexus instance starting with oc new-app <''nexus-image-url''>, go to: | ||
{{Internal|OpenShift_Nexus#Deploy_Nexus_Based_on_a_Standard_Sonatype_Docker_Image|Deploy Nexus Based on a Standard Sonatype Docker Image}} | {{Internal|OpenShift_Nexus#Deploy_Nexus_Based_on_a_Standard_Sonatype_Docker_Image|Deploy Nexus Based on a Standard Sonatype Docker Image}} |
Revision as of 01:16, 20 January 2018
Internal
Overview
A Docker image repository URL can be provided to oc new-app to create an application based on that image.
oc new-app <docker-repository-URL>
Example:
oc new-app docker.io/sonatype/nexus3:latest
The utility creates an image stream, a deployment config and a service in the current project
For more details on how to deploy a production-ready Nexus instance starting with oc new-app <nexus-image-url>, go to: