Questo contenuto non è disponibile nella lingua selezionata.
Chapter 13. Working with containers
13.1. Introduction to containers Copia collegamentoCollegamento copiato negli appunti!
Containers include all the necessary components like libraries, frameworks, and other additional dependencies that are isolated and self-sufficient within their own executable. A Red Hat container certification ensures supportability of both the operating system and the application layers. It provides enhanced security by vulnerability scanning and health grading of the Red Hat components, and lifecycle commitment whenever the Red Hat or partner components are updated.
However, containers running in privileged mode, or privileged containers, stretch their boundaries and interact with their host to run commands or access the host’s resources. For example, a container that reads or writes to a filesystem mounted on the host must run in privileged mode.
Privileged containers might create a security risk. A compromised privileged container might also compromise its host and the integrity of the environment as a whole.
Moreover, privileged containers are susceptible to incompatibilities with the host as operating system interfaces such as commands, libraries, ABI, and APIs might change or deprecate over time. This can put privileged containers at risk of interacting with the host in an unsupported way.
Containers must run in unprivileged mode unless approved by Red Hat during the certification process as described in the policy guide.
You must ensure that your containers can run on any supported hosts in the customer’s environment. Red Hat encourages you to adopt a continuous integration model that lets you test your containers with public betas or earlier versions of Red Hat products to maximize compatibility.
13.2. Container certification workflow Copia collegamentoCollegamento copiato negli appunti!
Red Hat recommends that you are a Red Hat Certified Engineer or hold equivalent experience before starting the certification process.
The following diagram gives an overview of container certification workflow:
Figure 13.1. Container certification workflow
Task Summary
The certification workflow includes the following three primary stages-
13.2.1. Certification on-boarding and opening your first project Copia collegamentoCollegamento copiato negli appunti!
Prerequisites
Verify the functionality of your product on the target Red Hat platform, in addition to the specific certification testing requirements.If running your product on the targeted Red Hat platform results in a substandard experience then you must resolve the issues prior to certification.
The Red Hat Partner Acceleration Desk (PAD) is a Products and Technologies level partner help desk service that allows our (prospective) technology partners a central location to ask non-technical questions pertaining to Red Hat offerings, partner programs, product certification, engagement process, and so on.
See PAD - How to open & manage PAD cases, to open a PAD ticket.
Through the Partner Subscriptions program, Red Hat offers free, not-for-resale software subscriptions that you can use to validate your product on the target Red Hat platform. To request access to the program, follow the instructions on the Partner Subscriptions site.
You must construct your container images so that they meet the certification criteria and policy. For more details, see image content requirements.
Procedure
Follow these high-level steps to certify your containerized software:
- Join the Red Hat Partner Connect for Technology Partner Program.
- Agree to the program terms and conditions.
- Fill in your company profile.
- Create your certification project by selecting your desired platform, for example - Red Hat OpenShift and then choose Container Image.
- Complete the pre-certification checklist including the export compliance questionnaire for your container images, if applicable.
13.2.2. Certification testing Copia collegamentoCollegamento copiato negli appunti!
Follow these high-level steps to run a certification test:
- Build your container image.
- Upload your container image to your chosen registry. You can choose any registry of your choice.
- Download the Preflight certification utility.
- Run Preflight with your container image.
- Submit results on Red Hat Partner Connect.
13.2.3. Publishing the certified container on the Red Hat Ecosystem Catalog Copia collegamentoCollegamento copiato negli appunti!
Certified container images are delivered to customers through the Red Hat Connect Image Registry, which you can then run on a supported Red Hat container platform. Your product and its images get listed on the Red Hat Container Catalog using the listing information that you provide.