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 |
-
login to web UI via https://master.ocp.tauil.org
-
Use the same username and password that assigned to you
-
Click "Create Project"
-
Enter project name (all lower case) as myproject-userxx and other information
-
Click create button
Step 2: Create an application from a Docker Image
-
Once you created a new project, we will see this page
-
Click on "Deploy Image" tab
-
Select "Image Name" radio button
-
Enter the name of the container image under Image Name as
redhatworkshops/welcome-php
-
Click on search button
-
Enter a Name for the deploy
-
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!