# \[Solved\] Updating Edge agent on Balena device

**URL:** <https://forums.losant.com/t/solved-updating-edge-agent-on-balena-device/1507>\
**Category:** Help\
**Tags:** edge, docker, balena\
**Created:** [February 4, 2019, 7:42pm UTC](https://forums.losant.com/t/solved-updating-edge-agent-on-balena-device/1507 "2019-02-04T19:42:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [February 4, 2019, 7:42pm UTC](https://forums.losant.com/t/solved-updating-edge-agent-on-balena-device/1507/1 "2019-02-04T19:42:28Z")

</div>

What are the proper steps to update the Edge agents docker container on a device managed by Balena?

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [February 4, 2019, 8:19pm UTC](https://forums.losant.com/t/solved-updating-edge-agent-on-balena-device/1507/2 "2019-02-04T20:19:10Z")

</div>

Hello,

Updating the Edge Agent is as easy as updating the docker image; you can find information on updating the Losant Edge Agent on [this forum post](https://forums.losant.com/t/upgrading-a-losant-edge-agent/1084/2).

Since you are using Balena, and they are managing the docker container, the update will be done using their software. Documentation on doing so [can be found here](https://www.balena.io/docs/learn/deploy/release-strategy/update-strategies/).

Thanks!  
Julia

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [February 4, 2019, 11:30pm UTC](https://forums.losant.com/t/solved-updating-edge-agent-on-balena-device/1507/3 "2019-02-04T23:30:03Z")

</div>

Had some problems with this and started from scratch. When getting the new docker image and “Option” :Latest, it still pulled 1.4.0.

Should I replace latest with 1.5.0 or 1.5. ?  
Initially I used “latest-arm” for this Pi

---

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [February 4, 2019, 11:40pm UTC](https://forums.losant.com/t/solved-updating-edge-agent-on-balena-device/1507/4 "2019-02-04T23:40:31Z")

</div>

I have confirmed that `latest` does correctly represent `1.5.0`.

However, I would recommend as a best practice to explicitly define the version. This prevents your fleet from diverging if you deploy before and after an update since `latest` could represent different versions.
