Docker image for Domoticz 2020.1

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Docker image for Domoticz 2020.1

Post 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.
DanielHoPe
Posts: 3
Joined: Wednesday 16 May 2018 22:20
Target OS: Linux
Domoticz version:
Contact:

Re: Docker image for Domoticz 2020.1

Post 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.
User avatar
sancla
Posts: 105
Joined: Wednesday 01 January 2020 23:01
Target OS: -
Domoticz version:
Contact:

Re: Docker image for Domoticz 2020.1

Post by sancla »

Cool!!!
Check these howto's: https://sancla.com
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: Docker image for Domoticz 2020.1

Post 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
DanielHoPe
Posts: 3
Joined: Wednesday 16 May 2018 22:20
Target OS: Linux
Domoticz version:
Contact:

Re: Docker image for Domoticz 2020.1

Post by DanielHoPe »

sure

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

it is still very precarious, and not yet connected with docker hub
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

Re: Docker image for Domoticz 2020.1

Post by DAVIZINHO »

hello
i use the linuxserver image, but i dont know why this docker was not update in the last month :-(
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

Re: Docker image for Domoticz 2020.1

Post by DAVIZINHO »

hello again.
Its posible to migrate a docker of domoticz (linuxserver) to another docker and keep all the config, scripts, etc... ???
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: Docker image for Domoticz 2020.1

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest