Page 1 of 1

Docker image for Domoticz 2020.1

Posted: Friday 10 April 2020 16:19
by Bikey
Does anybody know how to get a working docker image for Domoticz 2020.1?

All the Domoticz images on Docker hub are outdated and won't run, due to the fact that they don't use a Linux version with GLIBC_2.28 or higher.

Re: Docker image for Domoticz 2020.1

Posted: Saturday 18 April 2020 17:55
by DanielHoPe
I am just playing around with it but I have built a couple of images.

https://hub.docker.com/r/danielhoperez/domoticz-builder
I use this image to build domoticz (to avoid bloating the actual domoticz image)

and just 10 minutes ago I've created
https://hub.docker.com/r/danielhoperez/domoticz

which has not been properly tested, it works for my purposes but I am sure that there might be some missing pieces.

Re: Docker image for Domoticz 2020.1

Posted: Saturday 18 April 2020 17:58
by sancla
Cool!!!

Re: Docker image for Domoticz 2020.1

Posted: Saturday 18 April 2020 21:09
by Bikey
DanielHoPe wrote: Saturday 18 April 2020 17:55 I am just playing around with it but I have built a couple of images.

https://hub.docker.com/r/danielhoperez/domoticz-builder
I use this image to build domoticz (to avoid bloating the actual domoticz image)

and just 10 minutes ago I've created
https://hub.docker.com/r/danielhoperez/domoticz

which has not been properly tested, it works for my purposes but I am sure that there might be some missing pieces.
Thanks! Can you also share your Dockerfile?
The image is for amd64 but I would like to build it for a Raspberry Pi 2B so it must be Arm32V7

Re: Docker image for Domoticz 2020.1

Posted: Saturday 18 April 2020 23:58
by DanielHoPe
sure

https://github.com/danielhoperez/domoticz-docker

it is still very precarious, and not yet connected with docker hub

Re: Docker image for Domoticz 2020.1

Posted: Tuesday 21 April 2020 23:58
by DAVIZINHO
hello
i use the linuxserver image, but i dont know why this docker was not update in the last month :-(

Re: Docker image for Domoticz 2020.1

Posted: Wednesday 29 April 2020 11:37
by DAVIZINHO
hello again.
Its posible to migrate a docker of domoticz (linuxserver) to another docker and keep all the config, scripts, etc... ???

Re: Docker image for Domoticz 2020.1

Posted: Wednesday 29 April 2020 17:16
by Bikey
Sure, look at the description at:https://hub.docker.com/r/danielhoperez/domoticz

If you run it with these volume mappings, you can put the data you want to transfer there.

docker run --restart unless-stopped --device /dev/ttyACM1:/dev/ttyACM1 --name=domoticz -e TZ=Europe/Amsterdam -p 6144:6144 -p 1443:1443 -p 8081:8081 -v [DATA_DIR]:/data -v [BACKUPS_DIR]:/opt/domoticz/backups -v [PLUGINS_DIR]:/opt/domoticz/plugins -v [DZSCRIPTS_DIR]:/opt/domoticz/scripts/dzVents