southalc / podman

Puppet module for podman
Apache License 2.0
13 stars 30 forks source link

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

Open cleonn opened 1 year ago

cleonn commented 1 year ago

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.