Git Product home page Git Product logo

Comments (5)

Paraphraser avatar Paraphraser commented on June 30, 2024

Please see THIS PROJECT IS DORMANT.

To answer your question…

Option 1 - the DockerHub image is running

Look in your docker-compose.yml.

Suppose you see:

  grafana:
    container_name: grafana
    image: grafana/grafana:latest

The "image" is telling you that the grafana image comes straight from DockerHub.

If you want to pin Grafana to, say, version 7.5.7, change that image line to be:

    image: grafana/grafana:7.5.7

and then do:

$ docker-compose up -d grafana

The version 7.5.7 image will be pulled down from DockerHub, a new container will be instantiated, and the old container discarded.

Option 2 - a local image is running

Look in your docker-compose.yml.

Suppose you see:

  nodered:
    container_name: nodered
    build: ./services/nodered/.

The "build" tells you a Dockerfile is involved. A base image is pulled down from DockerHub, the Dockerfile runs to produce a local image, and the local image is what runs.

The leading "." means "the directory containing docker-compose.yml" and the trailing "." means Dockerfile so the path you need is:

~/IOTstack/services/nodered/Dockerfile

The start of that Dockerfile is:

FROM nodered/node-red:latest-12

You need to go to the DockerHub tags page to figure out what to do next.

The current version of Node-RED is "1.3.5" and the "-12" suffix is talking about the version of NodeJS. To roll back to version 1.3.4 with the same NodeJS:

FROM nodered/node-red:1.3.4-12

then do:

$ docker-compose up -d --build nodered

Hope that helps.

from iotstack.

pvklink avatar pvklink commented on June 30, 2024

Thank Paraphraser,
A lot om my composefiles or dockerfile refer to for example:domoticz/domoticz:latest
https://hub.docker.com/r/domoticz/domoticz/tags?page=1&ordering=last_updated

When this image is not ok, i want the previous. i dont see any other images on that site.
Alternative is to save the image that worked before. I use IOTstack, so i am searching for the datastorage to save it from there.
I hoped that the docker images command and the show image id would help, but it does not...

from iotstack.

Paraphraser avatar Paraphraser commented on June 30, 2024

The docker images command just lists the images available on your local computer.

I see what you mean about demoticz/demoticz. Unfortunately, docker and docker-compose can only pull what is available on DockerHub. Most image maintainers understand that, sometimes, users may need to revert to older versions, so they only ever add to DockerHub and never remove. The person maintaining demoticz/demoticz is not playing the game in a user-friendly manner.

But I have a question for you. Why are you using domoticz/domoticz instead of linuxserver/domoticz?

The SensorsIot/IOTstack template for domoticz refers to linuxserver/domoticz while gcgarner/IOTstack doesn't even have a template for domoticz.

There are only two reasons why people open issues on gcgarner/IOTstack:

  1. They are actually using SensorsIot/IOTstack but went to gcgarner by mistake.
  2. They are still using gcgarner and haven't realised that it stopped being maintained 18 months ago.

If you really are using gcgarner/IOTstack then it is probably time to migrate over. See the migration instructions.

Unless there is some good reason why you must use domoticz/domoticz rather than linuxserver/domoticz, I think you'll find that the people behind linuxserver/domoticz are playing the DockerHub game correctly. They keep all the back versions there (43 pages' worth going back 4 years). 10 million pulls indicates a lot of happy users.

domoticz/domoticz just has the one version on DockerHub. 100K pulls is also not a small number so I'm not trying to suggest there's anything "wrong" with domoticz/domoticz. I'm just pointing out that linuxserver/domoticz will give you the ability to roll backwards and the 10M pulls can give you a fair bit of confidence that it will work.

But it's your system and your decision.

from iotstack.

pvklink avatar pvklink commented on June 30, 2024

Thanks!
Just new in the world of docker!
So i started with an install of IOTstack, to make a flying start. After two months i have all my functionallity installed with docker.
No idea if a have gcgarner or sensorlot version, where can i see that ?
I use the domoticz/domoticz because i was ona beta version with my environment and linuxserver did not publish beta's
If linuxserver is better and also has the beta's, i will change!

from iotstack.

pvklink avatar pvklink commented on June 30, 2024

i have the sensorsIOT!

I have domoticz Version: 2021.1 (build 13314) running on my rpi
Let say, i got a crash and saved my data,thats on 13314).
Is there a linuxserver/domoticz image thats fitting my data when crashing...
It is hard to find the buildspecification in linuxserver/domoticz

from iotstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.