Recently moved from HAOS to HA in docker and didn’t realize that I need to update my docker image manually to get a new core version.
With this feature request I would like to see the “New update available” prompt in Home Assistant, even I still need to update my docker image manually.
In addition, please add a link to the document to describe HOW to actually perform the update.
Stop container
Delete container
Run container with new version
Presuming you properly mounted your folders, the new container starts and uses the existing folders and files
This is standard for docker so generally doesn’t belong in HA instructions since it has nothing to do with HA but is standard function of docker. The docker run and compose is unique and must be detailed however.
It could be useful but these notifications are also annoying for non admin user. I don’t want my family asking about updates(not that they would but)
I use the GitHub integration and get HA notifications for all version releases. I use this for all softwares on my system.
You could create an automation that compares current version to release and notify you directly. I don’t do this since if it is new release of course I should not have it installed. I think what could be useful is having current version and release version showing so you may compare. You could possibly create a script that stops, modify compose, start container.
This is standard for docker so generally doesn’t belong in HA instructions
Since there is already a documentation how to install it as a docker, I don’t see reason why there would not be document how to update the installed docker instance. Well it is just two commands as you told, but then there would not be need to search for it separately.
these notifications are also annoying for non admin user.
Are they even visible for non-admin users? If so, why? They cannot probably even perform the update with HAOS, why would they see the notification?
Similar way as HAOS is notifying that there is update available - which you can maybe even skip - there should be notification for docker installations that update is available. And you should be able just to ignore this.
EDIT
had to double check. I forget there is admin now.
In that case yes, just dont show to non-admin
I only explaining why is is not there (my guess). Also, why I would expect it will not get added (my guess). Im not sure my opinion at the moment but I lean toward not adding.
Docker compose and Docker run are still docker.
If you use compose the update method is same. stop >> modify version >> start. Compose will delete container for you.
I presume you have short experience with docker so this seems like a hill but with docker you dont technically “update”. You just delete and start again. You are bringing OLD concept about software use but it really does not apply with docker even though for “universal understanding” we say “update container”. This idea is wrong. You never update software in a container and should never update software in a container. You always delete and build new. You do retain the important files (video, historical data, state, etc).
To your orginal question of version. Add version check could be good so lets see if others agree and vote
regarding add update instruction, Maybe it is useful but if you asking this I expect you never use docker and have bigger recommendation to consult docker documenation and understand this better. I dont say this as insult, I just know their are many better ways to run HA in docker than that recommended, such as macvlan and other docker networking tricks, and reading documentation will give deeper understanding of how it works and allow you to better manage your install to meet your needs/goals.