Hi, I went through all chapter 7, but didn't find any example about secrets section.
Just mentioned here, if I'm not wrong
Please could you help?
So the course covers Podman Secrets in Chapter 4 where it discusses some of the custom container images. It covers how the secrets are created and how the secrets can be used from the CLI to launch a container that uses that secret with Podman.
Chapter 7 introduces something very important about Podman in that it actually manages pods which can be one or more containers. It discusses the podman pod command on how to create pods, podman kube play on launcing a Kubernetes-style YAML file that will create a complete set of components for running your multi-container application, and it finally covers the compose file which is a YAML file that will also allow running a multi-container application with all the resources defined.
You specifically called out multiple items from the Compose file in the screenshot piece, but keep in mind, earlier areas of the book defined what those were and showed you how to use them as we talk about persistent storage, services, networks and show examples with just the podman command. We also discussed and showed how secrets worked as mentioned by the first paragraph in Chapter 4.
You are correct in that there is no expanded example with the "Secrets" section in Chapter 7 or direct hands-on GE/Lab allowing you to use secrets with a Compose file.
So the course covers Podman Secrets in Chapter 4 where it discusses some of the custom container images. It covers how the secrets are created and how the secrets can be used from the CLI to launch a container that uses that secret with Podman.
Chapter 7 introduces something very important about Podman in that it actually manages pods which can be one or more containers. It discusses the podman pod command on how to create pods, podman kube play on launcing a Kubernetes-style YAML file that will create a complete set of components for running your multi-container application, and it finally covers the compose file which is a YAML file that will also allow running a multi-container application with all the resources defined.
You specifically called out multiple items from the Compose file in the screenshot piece, but keep in mind, earlier areas of the book defined what those were and showed you how to use them as we talk about persistent storage, services, networks and show examples with just the podman command. We also discussed and showed how secrets worked as mentioned by the first paragraph in Chapter 4.
You are correct in that there is no expanded example with the "Secrets" section in Chapter 7 or direct hands-on GE/Lab allowing you to use secrets with a Compose file.
Thank you
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.