Hi, I have v3.2 podman installed, but am having difficulty with the new secrets --type=env. I create the secret ok as file, but podman secret create secret_name --env=true $env_name fails. When I create the secret as file, no matter whether it is JSON or simple variable='thing', when I create the container using the command Podman run -dit --secret=secret_name,type=env --name=container_name image_id and then exec into the running container with Podman exec -it container_name bash, there is no environment variable named secret_name. Am I missing something? Regards James
On 6/20/21 14:25, James Miller wrote:
Hi, I have v3.2 podman installed, but am having difficulty with the new secrets --type=env.
I create the secret ok as file, but podman secret create secret_name --env=true $env_name fails.
When I create the secret as file, no matter whether it is JSON or simple variable='thing', when I create the container using the command Podman run -dit --secret=secret_name,type=env --name=container_name image_id and then exec into the running container with Podman exec -it container_name bash, there is no environment variable named secret_name.
Am I missing something?
Regards
James
_______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
Ashley could you help out James?
Hi Dan, James, I think James sent out another email saying he was able to resolve the issue. James, if you have any other questions or issues regarding secrets, don't please hesitate to ask. All the best, Ashley Cui On Sun, Jun 20, 2021 at 4:14 PM James Miller <jamesstewartmiller@gmail.com> wrote:
Hi,. I sent a previous message with this subject, but have since solved my issues
Many thanks,
Regards
James _______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
On Wed, Jun 23, 2021 at 9:37 AM Daniel Walsh <dwalsh@redhat.com> wrote:
On 6/20/21 14:25, James Miller wrote:
Hi, I have v3.2 podman installed, but am having difficulty with the new secrets --type=env.
I create the secret ok as file, but podman secret create secret_name --env=true $env_name fails.
When I create the secret as file, no matter whether it is JSON or simple variable='thing', when I create the container using the command Podman run -dit --secret=secret_name,type=env --name=container_name image_id and then exec into the running container with Podman exec -it container_name bash, there is no environment variable named secret_name.
Am I missing something?
Regards
James
_______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io
Ashley could you help out James?
participants (3)
-
Ashley Cui -
Daniel Walsh -
James Miller