I am a newbie in the containers world. From what I have read, when you want to update your container you do this :
- Stop the container.
- Delete the container
- Pull the new image
- Recreate the container, and now you are running the new version of the image.
My problem is like this, I used kolla-ansible to deploy Openstack, to update the images, the documentation here (https://docs.openstack.org/kolla-ansible/yoga/user/operating-kolla.html) says that, I have to :
- Update kolla-ansible package.
- Pull the new images
- And finally execute kolla-ansible deploy
In my deployment I am using a local registry, so my update operation goes like this :
- Update kolla-ansible package.
- Pull the new images.
- Tag the new images in the local registry
- Push the new images to the local registry
- Finally execute kolla-ansible deploy
Which I did, but when verifying the containers, I see that they haven't been restarted. I know that an image contains a build date in it. Is there way to tell that : this container comes from this image build. I need a way to be sure that my containers have been updated. That they are using the new images, the new code.
Regards.