I need to change a containerfile just to create a new-app. This containerfile is based in a Http Apache server. I know there is a example here (https://rol.redhat.com/rol/app/courses/do288-4.10/pages/ch02s04)
But i need more examples. Can anybody help me, please?
I don't have a ton of containerfile examples for the DO288 course, but I do have some I can provide to you. You might need to rename the Dockerfile to Containerfile, but keep in mind those are the same things. Hope the examples attached here as Github links help. Keep in mind, containers on OCP are different as the SCCs can cause issues with containers and root users, so you need to make adjustments for containers that run rootless on OCP.
https://github.com/tmichett/AnsibleContainer
https://github.com/tmichett/OCP_Demos/tree/main/DO188_Containerfile
https://github.com/tmichett/OCP_Demos/tree/main
https://github.com/tmichett/DO188_Demo/tree/main/Demos/CH4 (These are probably the best examples).
I don't have a ton of containerfile examples for the DO288 course, but I do have some I can provide to you. You might need to rename the Dockerfile to Containerfile, but keep in mind those are the same things. Hope the examples attached here as Github links help. Keep in mind, containers on OCP are different as the SCCs can cause issues with containers and root users, so you need to make adjustments for containers that run rootless on OCP.
https://github.com/tmichett/AnsibleContainer
https://github.com/tmichett/OCP_Demos/tree/main/DO188_Containerfile
https://github.com/tmichett/OCP_Demos/tree/main
https://github.com/tmichett/DO188_Demo/tree/main/Demos/CH4 (These are probably the best examples).
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.