// Module included in the following assemblies:
//
// * getting-started/openshift-cli.adoc

:_mod-docs-content-type: PROCEDURE
[id="getting-started-cli-deploying-first-image_{context}"]
= Deploying your first image

The simplest way to deploy an application in {product-title} is to run an existing container image. The following procedure deploys a front-end component of an application called `national-parks-app`. The web application displays an interactive map. The map displays the location of major national parks across the world.

.Prerequisites

* You must have access to an {product-title} cluster.
* Install the OpenShift CLI (`oc`).

.Procedure

* To deploy an application, enter the following command:
+
[source,terminal]
----
$ oc new-app quay.io/openshiftroadshow/parksmap:latest --name=parksmap -l 'app=national-parks-app,component=parksmap,role=frontend,app.kubernetes.io/part-of=national-parks-app'
----
+
.Example output
[source,text]
----
--> Found container image 0c2f55f (12 months old) from quay.io for "quay.io/openshiftroadshow/parksmap:latest"

    * An image stream tag will be created as "parksmap:latest" that will track this image

--> Creating resources with label app=national-parks-app,app.kubernetes.io/part-of=national-parks-app,component=parksmap,role=frontend ...
    imagestream.image.openshift.io "parksmap" created
    deployment.apps "parksmap" created
    service "parksmap" created
--> Success
----
