cancel
Showing results for 
Search instead for 
Did you mean: 
riemann
Flight Engineer
Flight Engineer
  • 501 Views

DO188, CH08S04 Where are the Containerfiles?

Hello,

I have done ch08s04. But I was wondering where the Containerfiles are? Does Openshift work with Containerfiles?

I see in DO188/labs/openshift-multipod/gitea a Containerfile. But is this a showcase, I mean it is not used? The same question for ch08s02. 

Labels (1)
1 Reply
carlos_arias
Moderator
Moderator
  • 339 Views

Hi @riemann, openshift can work with containerfiles (Dockerfile) as long as they are in a public repository such github, from where it can pull the Containerfile to build a new image.

But in the exercise you are referring to the images are already built and stored in the registry, so openshift just pull them to spin a container.

 

Have a look at the documentation where it explains it:

carlos_arias_0-1705402903179.png

https://docs.openshift.com/container-platform/4.12/cicd/builds/understanding-buildconfigs.html

 

RHCA - Level III
Free software for free people
Join the discussion
You must log in to join this conversation.