Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Containers not updating if more than one uses the same image #67

Open
cleonn opened this issue Aug 3, 2023 · 0 comments
Open

Containers not updating if more than one uses the same image #67

cleonn opened this issue Aug 3, 2023 · 0 comments

Comments

@cleonn
Copy link

cleonn commented Aug 3, 2023

When the podman::container class does an update it will try to run:

podman rmi [image]

but this will fail if more than one container uses the same image. Thus the subsequent podman create will use the existing image to start a new container, instead of pulling an updated image, which leads to update being run again at the next puppet run.

This leads to puppet destroying and recreating the containers at each puppet run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant