cancel
Showing results for 
Search instead for 
Did you mean: 
AlessandraS
Flight Engineer
Flight Engineer
  • 219 Views

EX188 Objectives - Run multi-container applications with Podman - Working with secrets

Jump to solution

Hi, I went through all chapter 7, but didn't find any example about secrets section.

Just mentioned here, if I'm not wrong

AlessandraS_0-1757064237226.png

Please could you help?

1 Solution

Accepted Solutions
Travis
Moderator
Moderator
  • 202 Views

@AlessandraS -

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.

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training

View solution in original post

2 Replies
Travis
Moderator
Moderator
  • 203 Views

@AlessandraS -

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.

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
AlessandraS
Flight Engineer
Flight Engineer
  • 193 Views

Thank you

Join the discussion
You must log in to join this conversation.