OpenShift Create an Application from a Docker Image: Difference between revisions
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
The utility creates an image stream, a deployment config and a service in the ''current project'' | The utility creates an image stream, a deployment config and a service in the ''current project'' | ||
Example: | |||
oc new-app docker.io/sonatype/nexus3:latest |
Revision as of 01:08, 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>
The utility creates an image stream, a deployment config and a service in the current project
Example:
oc new-app docker.io/sonatype/nexus3:latest