# Feature request: Add ability to update containers on reboot

**URL:** <https://forums.balena.io/t/feature-request-add-ability-to-update-containers-on-reboot/349883>\
**Category:** balenaEngine\
**Created:** [October 28, 2021, 11:36am UTC](https://forums.balena.io/t/feature-request-add-ability-to-update-containers-on-reboot/349883 "2021-10-28T11:36:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maggie0002](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@maggie0002](https://forums.balena.io/u/maggie0002)\
**Post date:** [October 28, 2021, 11:36am UTC](https://forums.balena.io/t/feature-request-add-ability-to-update-containers-on-reboot/349883/1 "2021-10-28T11:36:30Z")

</div>

There are a bunch of useful update strategies for various scenarios ([Fleet update strategy - Balena Documentation](https://www.balena.io/docs/learn/deploy/release-strategy/update-strategies/)). It would be great to have a `download-then-update_on_reboot`. Containers are pulled and stored locally. On the next reboot, instead of starting the old containers, start the new ones and remove the old ones. This would allow me to maintain uptime, without requiring the extra resources or coding of a `hand-over`.

I am referring to Balena Cloud, so when I say containers I mean the delta updates for the containers\*

Is there any way to achieve this in the meantime? I can trigger an update on the api in boot, but is there a way to disable update on all other occasions?

---

<div class="post-metadata">

**Author:** ![maggie0002](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@maggie0002](https://forums.balena.io/u/maggie0002)\
**Post date:** [November 15, 2021, 4:59pm UTC](https://forums.balena.io/t/feature-request-add-ability-to-update-containers-on-reboot/349883/2 "2021-11-15T16:59:32Z")

</div>

Wondering if anyone had any ideas on the above? Is there a way to prevent updates being installed until reboot? I have been looking at the updates lock: [Application update locks - Balena Documentation](https://www.balena.io/docs/learn/deploy/release-strategy/update-locking/). It says downloads will be done when not installed when it is locked, which would get me half way there. Is there a way I could trigger the install of those updates, without downloading new ones?

---

<div class="post-metadata">

**Author:** ![maggie0002](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@maggie0002](https://forums.balena.io/u/maggie0002)\
**Post date:** [December 3, 2021, 7:42am UTC](https://forums.balena.io/t/feature-request-add-ability-to-update-containers-on-reboot/349883/3 "2021-12-03T07:42:15Z")

</div>

Quick update. For now I have used the update lock feature, enabling it on first boot so the update lock is permanently on, and am running a manual update request on boot passing the ‘forced’ var as true. It’s not ideal for many reason, in particular my logs are now full with update retires.

Is there any chance of an ‘update after reboot’ feature in Balena at some point?

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [December 3, 2021, 10:47am UTC](https://forums.balena.io/t/feature-request-add-ability-to-update-containers-on-reboot/349883/5 "2021-12-03T10:47:35Z")

</div>

Hello @maggie0002 not sure why this message has been here without any answer! It’s really interesting 🙂

Let me create an internal discussion to see how we can help you more!

Let’s stay connected

---

<div class="post-metadata">

**Author:** ![cywang117](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/cywang117/32/6307_2.png) [@cywang117](https://forums.balena.io/u/cywang117)\
**Post date:** [December 3, 2021, 4:20pm UTC](https://forums.balena.io/t/feature-request-add-ability-to-update-containers-on-reboot/349883/7 "2021-12-03T16:20:46Z")

</div>

Hi,

It looks like this GitHub issue may fit the behavior you’re seeking: [Download but only start new release on X · Issue #1624 · balena-os/balena-supervisor · GitHub](https://github.com/balena-os/balena-supervisor/issues/1624)

The issue topic is a bit broad and it’s not on our radar yet, but you can follow it for updates – we’ll also notify you when it gets merged, whenever that is 🙂

Regards,  
Christina
