Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.43 KB

1a-create-app-from-docker-image.adoc

File metadata and controls

55 lines (36 loc) · 1.43 KB

Create an App from a Docker image

In this lab you will learn how to create a new project on OpenShift and how to create an application from an existing docker image using Web UI.

Step 1: Add a new project from command line

Important
Please replace userxx with your username
image
  • Enter project name (all lower case) as myproject-userxx and other information

image
  • Click create button

Step 2: Create an application from a Docker Image

  • Once you created a new project, we will see this page

image
  • Click on "Deploy Image" tab

  • Select "Image Name" radio button

image
  • Enter the name of the container image under Image Name as redhatworkshops/welcome-php

  • Click on search button

image
  • Enter a Name for the deploy

image
  • Click Create

  • Click Continue to Oversion

  • Click anywhere next to welcome

  • Click create route image::welcome.png[image]

  • Scroll down and click Create

  • Click on the link on the top right

Congratulations!! You now know how to create a project, an application using an external docker image and navigate around. Get ready for more fun stuff!