Domoticz Docker Container update trigger Topic is solved

Subforum for general discussions. Do not dump your questions/problems here, but try to find the subforum where it belongs!

Moderators: leecollings, remb0

Post Reply
acaonweb
Posts: 86
Joined: Thursday 23 March 2017 14:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Domoticz Docker Container update trigger

Post by acaonweb »

i'm switching to have domoticz into a docker container and porting was good at the moment.
there is a difference regarding the update to a new version.
in the bare installation, in setting i can enable an alert so when a new domoticz version is available, a pop up appears and i could easly update.
In the docker container, i haven't is, so i'm wondering how a new version avaliable can be notified?

there is some setting i have to enable, or someone can show me the way to do it?
Thanx

Fabrizio
User avatar
waltervl
Posts: 5842
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Domoticz Docker Container update trigger

Post by waltervl »

There is no trigger as it is managed by Docker. There are some tools around docker to check if there is a new docker image. You have to google for that.
Or you can run a regularly update command:

Code: Select all

docker compose pull && docker compose up --force-recreate --build -d && docker image prune -f
as indicated in the instructions on'

https://hub.docker.com/r/domoticz/domoticz
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
gizmocuz
Posts: 2536
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Domoticz Docker Container update trigger

Post by gizmocuz »

You also do not have to update every time.

If you want a good docker compose manager, you could install (via docker compose of course) DockGE, I like this one very much!
Quality outlives Quantity!
acaonweb
Posts: 86
Joined: Thursday 23 March 2017 14:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz Docker Container update trigger

Post by acaonweb »

thanx to everyone
Kedi
Posts: 575
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Domoticz Docker Container update trigger

Post by Kedi »

gizmocuz wrote: Wednesday 04 June 2025 13:30 You also do not have to update every time.

If you want a good docker compose manager, you could install (via docker compose of course) DockGE, I like this one very much!
Unfortunately it states: "Debian/Raspbian Buster or lower is not supported"
Logic will get you from A to B. Imagination will take you everywhere.
User avatar
gizmocuz
Posts: 2536
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Domoticz Docker Container update trigger

Post by gizmocuz »

@Kedi, sure that is very old... consider upgrading to bookworm!
Quality outlives Quantity!
User avatar
Varazir
Posts: 429
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Domoticz Docker Container update trigger

Post by Varazir »

I hade to install some extra libs to get docker running on Buster.

It's a drawback using docker as you need to SSH or install a docker manager. You can't just do it from the Domoticz interface as before.

Installed DockerGE, I should have started with it, now I need to redo everything, yes I can set it up in DockerGE and copy the config files.
But I don't want to mess with the setup again after I got all in place again.
Last edited by Varazir on Saturday 07 June 2025 15:48, edited 1 time in total.
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
User avatar
gizmocuz
Posts: 2536
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Domoticz Docker Container update trigger

Post by gizmocuz »

Well, there are much more benefits:

- No system dependencies !
- Easy backup
- Easy restore

And yeah, DockGe is a very nice manager for that

You also don't have to update if you don't miss any features or fixes

Now you know how to use docker, you might check out:

https://github.com/Haxxnet/Compose-Examples

So easy to try/install and maintain!
Quality outlives Quantity!
User avatar
Varazir
Posts: 429
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Domoticz Docker Container update trigger

Post by Varazir »

gizmocuz wrote: Saturday 07 June 2025 15:40 Well, there are much more benefits:

- No system dependencies !
- Easy backup
- Easy restore

And yeah, DockGe is a very nice manager for that

You also don't have to update if you don't miss any features or fixes

Now you know how to use docker, you might check out:

https://github.com/Haxxnet/Compose-Examples

So easy to try/install and maintain!
Did you have all in the same compose?
Image
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
User avatar
Varazir
Posts: 429
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Domoticz Docker Container update trigger

Post by Varazir »

I have setup as custom link

Image
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
User avatar
gizmocuz
Posts: 2536
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Domoticz Docker Container update trigger

Post by gizmocuz »

No, everything is in separate containers. You don't need to update some containers, or you might wish to spin up a new container for a test version etc.
Quality outlives Quantity!
User avatar
Varazir
Posts: 429
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Domoticz Docker Container update trigger

Post by Varazir »

gizmocuz wrote: Sunday 08 June 2025 9:11 No, everything is in separate containers. You don't need to update some containers, or you might wish to spin up a new container for a test version etc.
Do you have any good script or way to update the containers when here are a new update there?
Have you tested https://getwud.github.io/wud/ ?
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
User avatar
gizmocuz
Posts: 2536
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Domoticz Docker Container update trigger

Post by gizmocuz »

I use DockGE. I don't want my containers to auto-magically update by itself... no way...
I have dockers I am depending on, and if I just let them update when there is a update, and something is not working, it could be a fault in one of these 20 containers...
Good luck hunting this down.....

For instance, Zigbee2MQTT, I update when I have a device that seems not implemented yet. (If it still is not, I try to make a config and submit)
Domoticz, I update when something visual appealing has changed, or something I really want.
Else, my production instance just keeps running.
All my others I do update, but one at a time, and not often.

You don't have to update because there is a update. It's a docker. Keeping your base system up2date (security patches) is way more important.
Quality outlives Quantity!
kalle
Posts: 4
Joined: Thursday 12 September 2024 9:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz Docker Container update trigger

Post by kalle »

I use Watchtower for this

keeps all Docker instances up to date.
User avatar
gizmocuz
Posts: 2536
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Domoticz Docker Container update trigger

Post by gizmocuz »

kalle wrote: Monday 09 June 2025 8:24 I use Watchtower for this

keeps all Docker instances up to date.
And as mentioned, doing this automatically is not ideal at all!

Using watchtower to update critical services is a very bad idea
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest