-
I'm storing my production images in AWS ECR in a private registry. Using the registry requires fetching a token (via the awscli) and passing it to podman. The token is only valid for 12 hours. What's the best way to ensure the token is valid whenever podman needs it? Right now I use ansible to update my running containers and I have it login, pull the image and then restart the container. I'm currently using hand-written hand-written systemd units, so I could add the login step to I'd like to use Quadlet, and I don't see mention of What if I wanted to enable automatic updates? Should I just renew the token regularly through cron? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Would anyone have any ideas to share? |
Beta Was this translation helpful? Give feedback.
-
You can use ExecStartPre=. in quadlets, and this is what I would recommend. |
Beta Was this translation helpful? Give feedback.
-
Just noticed that the man page mentions everything outside of |
Beta Was this translation helpful? Give feedback.
You can use ExecStartPre=. in quadlets, and this is what I would recommend.