# Fix container images for gladys-z2m-mqtt and gladys-z2m-zigbee2mqtt

**URL:** <https://community.gladysassistant.com/t/fixation-des-images-des-containers-gladys-z2m-mqtt-et-gladys-z2m-zigbee2mqtt/8384>\
**Category:** Demandes livrées\
**Tags:** zigbee2mqtt\
**Created:** [September 28, 2023, 6:04pm UTC](https://community.gladysassistant.com/t/fixation-des-images-des-containers-gladys-z2m-mqtt-et-gladys-z2m-zigbee2mqtt/8384 "2023-09-28T18:04:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cce66](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/c/8797f3/32.png) [@cce66](https://community.gladysassistant.com/u/cce66)\
**Post date:** [September 28, 2023, 6:04pm UTC](https://community.gladysassistant.com/t/fixation-des-images-des-containers-gladys-z2m-mqtt-et-gladys-z2m-zigbee2mqtt/8384/1 "2023-09-28T18:04:02Z")

</div>

1. [Gladys](https://github.com/GladysAssistant/Gladys/tree/a10436b10a62ba697dec05daf3b01ce0e884b53a)
2. /[server](https://github.com/GladysAssistant/Gladys/tree/a10436b10a62ba697dec05daf3b01ce0e884b53a/server)
3. /[services](https://github.com/GladysAssistant/Gladys/tree/a10436b10a62ba697dec05daf3b01ce0e884b53a/server/services)
4. /[zigbee2mqtt](https://github.com/GladysAssistant/Gladys/tree/a10436b10a62ba697dec05daf3b01ce0e884b53a/server/services/zigbee2mqtt)
5. /[docker](https://github.com/GladysAssistant/Gladys/tree/a10436b10a62ba697dec05daf3b01ce0e884b53a/server/services/zigbee2mqtt/docker)  
/# gladys-z2m-zigbee2mqtt-container.json

{  
« name »: « gladys-z2m-zigbee2mqtt »,  
« Image »: « koenkk/zigbee2mqtt:latest »,

Just a quick question: shouldn’t we also pin an image here since there don’t seem to be any issues with this one at the moment?

I’m starting to understand how the container part is managed in Gladys’ code 🙂 I’m going from plain quiche mode to quiche with bacon 🤣

> [@spenceur](#):
>
> Above all, don’t pin the version otherwise we’ll never benefit from the developments of future z2m releases — it would be a shame to miss out 😕

except when it breaks what works! 🥶  
That doesn’t prevent, for example, eclipse-mosquitto from being pinned 😉

> [@spenceur](#):
>
> Above all, don’t pin the version otherwise we’ll never benefit from the developments of future z2m releases — it would be a shame to miss out 😕

{  
«&nbsp;name&nbsp;»: «&nbsp;gladys-z2m-mqtt&nbsp;»,  
«&nbsp;Image&nbsp;»: «&nbsp;eclipse-mosquitto:2.0.15&nbsp;»,

By the way, for now the Node-RED image is currently pinned to 3.1 by @pierre-gilles — that doesn’t mean it won’t evolve, I think!

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [September 28, 2023, 6:35pm UTC](https://community.gladysassistant.com/t/fixation-des-images-des-containers-gladys-z2m-mqtt-et-gladys-z2m-zigbee2mqtt/8384/2 "2023-09-28T18:35:32Z")

</div>

Of course, normally tags like `latest` or others on Docker Hub are supposed to be validated upstream.  
I’m not saying it’s always perfect, but generally when a service goes down, it’s often back up fairly quickly afterwards.  
We’ve already had the case with Zigbee2MQTT (Z2M) that crashed and was fixed 20 to 30 minutes later. Usually either you wait for watchtower to do the job, or you pull it yourself.  
When that happens, someone always opens a message on the Gladys community and usually an answer is found quickly — either you’re told to wait, or commands are shared for advanced users.

I don’t think it’s worthwhile to lose responsiveness in fixing and evolving external services, knowing that Zigbee2MQTT (Z2M) is in constant development (about one release per month, it seems).  
As for services like Mosquitto and Node-RED, that’s debatable, I think..

---

<div class="post-metadata">

**Author:** ![cce66](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/c/8797f3/32.png) [@cce66](https://community.gladysassistant.com/u/cce66)\
**Post date:** [September 28, 2023, 6:51pm UTC](https://community.gladysassistant.com/t/fixation-des-images-des-containers-gladys-z2m-mqtt-et-gladys-z2m-zigbee2mqtt/8384/3 "2023-09-28T18:51:33Z")

</div>

Well yes but @pierre-gilles also takes vacations sometimes and if it happens during that time it could be a disaster until he returns 🥶 💥 or else we should provide a way in Gladys to roll back the container to the previous version (hey that’s not a bad idea 🤔) !

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [September 28, 2023, 6:56pm UTC](https://community.gladysassistant.com/t/fixation-des-images-des-containers-gladys-z2m-mqtt-et-gladys-z2m-zigbee2mqtt/8384/4 "2023-09-28T18:56:08Z")

</div>

One day (watch tower) or a few minutes manually, that’s not too much of an issue I think ^^.

Besides, Gladys 4 is designed so that only the service stops and not

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [September 29, 2023, 8:27am UTC](https://community.gladysassistant.com/t/fixation-des-images-des-containers-gladys-z2m-mqtt-et-gladys-z2m-zigbee2mqtt/8384/5 "2023-09-29T08:27:22Z")

</div>

For now, the instabilities from Zigbee2mqtt are minor compared to the regular releases, which themselves bring a lot of compatibility (at Z2M, they do 2–3 releases per month depending on the month), so I prefer to keep the current approach to allow everyone to have the latest updates.

If it ever becomes an issue, then why not allow pinning a version.

> [@spenceur](#):
>
> Why not leave the choice like back in V3 with a select for a few tags preselected by the integrator 🙂 (well it seems to me that @pierre-gilles will be against this idea because he prefers a turnkey tool that’s easy to use for anyone)

That could be an idea! However, it’s not really a priority in my opinion right now

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [September 29, 2023, 10:14am UTC](https://community.gladysassistant.com/t/fixation-des-images-des-containers-gladys-z2m-mqtt-et-gladys-z2m-zigbee2mqtt/8384/6 "2023-09-29T10:14:31Z")

</div>

> [@pierre-gilles](#):
>
> That could be an idea! That said, it’s not really a priority in my opinion at the moment.

Well, I wouldn’t have believed that, which goes to show I sometimes come up with good ones 😃

---

<div class="post-metadata">

**Author:** ![cce66](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/c/8797f3/32.png) [@cce66](https://community.gladysassistant.com/u/cce66)\
**Post date:** [October 4, 2023, 2:48pm UTC](https://community.gladysassistant.com/t/fixation-des-images-des-containers-gladys-z2m-mqtt-et-gladys-z2m-zigbee2mqtt/8384/7 "2023-10-04T14:48:08Z")

</div>

There could simply be an option to pin between image:latest and image:latest-1 — each time there’s a new image, the current image tag automatically becomes latest-1 and image:latest is loaded.

That way, in case of a crash you can revert to the previous version, and it can also help determine whether it’s a hardware problem or a Gladys problem.

It’s indeed not a priority, but it would make Gladys more reliable with regard to its dependencies, which are the images. 😉

There are scenarios (alarm, connected door) where a safe environment is required!

With Gladys Plus, you’ll be able to easily connect via a smartphone to change the image when this option is developed, but for users without Gladys Plus it would also be a benefit to pin images via the interface…

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 8, 2025, 11:55am UTC](https://community.gladysassistant.com/t/fixation-des-images-des-containers-gladys-z2m-mqtt-et-gladys-z2m-zigbee2mqtt/8384/8 "2025-05-08T11:55:05Z")

</div>

Hi everyone 🙂

This has been the case for a while, I’m closing this request.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 8, 2025, 11:55am UTC](https://community.gladysassistant.com/t/fixation-des-images-des-containers-gladys-z2m-mqtt-et-gladys-z2m-zigbee2mqtt/8384/9 "2025-05-08T11:55:08Z")

</div>


