-
Story
-
Resolution: Done
-
Minor
-
None
-
False
-
-
False
-
en-US (English)
-
AppDev Sprint May16 - May29
Please fill in the following information:
URL: | https://rol.redhat.com/rol/app/courses/do188-4.14/pages/ch04s03 |
Reporter RHNID: | atcorduneanu@extraordy.com |
Section Title: | Build Images with Advanced Containerfile Instructions |
Issue description
The section describes the podman secrets feature and how it is used.
Since also podman's documentation is vague about the usage of secrets, I think it would have value to specify here the possible options of running a container with secrets.
The section describes how to mount a secret as a file under /run/secrets inside the container, but secrets are more useful/used as environment variables.
Steps to reproduce:
podman run --name test-container --secret=mysecret,type=env,target=MY_SECRET localhost/testimage
Workaround:
.
Expected result:
I would expect to see the procedure of running a container with a secret as an environment variable.