confidential-containers / cloud-api-adaptor

Ability to create Kata pods using cloud provider APIs aka the peer-pods approach
Apache License 2.0
48 stars 88 forks source link

podvm: Make download-image.sh always pull #2078

Closed stevenhorsman closed 1 month ago

stevenhorsman commented 1 month ago

During some recent testing of bug fixes I spent quite a lot of time trying to understand why the fixes weren't having any effect on peer pods. After a while I found it was because although the registry version of the podvm image had been updated, when running download-image.sh it was just using the version I'd previously downloaded.

If we pass --pull=always, in the container create command, this should resolve that problem and it looks to be supported on docker and podman clis