A way to force update without starting the containers

Hi,
i was asked if there is a way on Balena to force device not to start the containers, and download the latest version, installing and then starting (in case of some horrible bug that makes the device to restart in an infinite loop

Daniel.

Hi Daniel,

I think you’re looking for this page in the documentation:

I think you need the download-then-kill strategy if I’m right.

Regards,

Bart

Hi Daniel, you can achieve that by setting the update strategy to kill-then-download or even delete-then-download. This will make it so that when there is an update pending, the device will first stop (ord delete based on the chosen strategy) the current services, then pull the new ones.

Thanks guys!