docker login
Navigate to project folder and create Dockerfile to run the app. Here are the relevant Docker docs:
# Docker Docs: https://docs.docker.com/
# Docker Reference: https://docs.docker.com/reference/
For this workshop, we will use the following repository that has an example Dockerfile. MAX Object Detector is an :
https://github.com/IBM/MAX-Object-Detector
Use the steps below to get access to a Red Hat OpenShift cluster.
NOTE: Cluster Allocations are limited by time on Open Labs. Please make sure to complete the labs as soon as possible Clusters will shut down approximately 3 to 4hrs after spinning up
- Navigate to:
https://developer.ibm.com/openlabs/openshift
-
You will be asked to sign in with your IBM account.
- Sign up for a IBM Cloud Account if you don't already have one Sign up here
- Sign in to your temporary RHOS cluster
-
Switch over to "Developer Mode" by selecting the option on the left side panel
-
Set the github url to the MAX Object Detector repo and port to 5000
-
Oila! Your Dockerfile was converted into an image that is pushed into the Openshift Image Registry and is now a running app on Openshift. Wait for the Pod's status to change to
Running
then navigate to th Network Route to launch the app.