I have always got a sensor to show me the latest docker version by command line as follows
## Get the latest Docker version available from Github
- platform: command_line
name: Docker Latest Version
command: "curl -s https://github.com/docker/docker-ce/releases/latest | cut -d'\"' -f2 | rev | cut -d'/' -f1 | rev | cut -c\"2-\""
scan_interval: 86400
However, ive noticed recently that my installed version (20.10.2) is higher than the version listed in the latest version sensor (19.03.14)
Checking out https://github.com/docker/docker-ce I can see that this is because the repo is now depreciated. It says “Starting with the Docker 20.10 release, packages for the Docker Engine and Docker CLI are built directly from their respective source repositories instead of from this repository.”
I dont quite follow what this is saying and am unsure where I can now scrape the latest version from to use as a sensor?
Anyone already covered this?
Thank you