Docker upgrading - Portainer ENV variables


Can someone please explain what this means and what I actually need to do?

The text below is from the Docker Hub page


The default values of ENV variables are always stored by Portainer (see portainer/portainer#2952). This causes issues such as endless restart loops when upgrading the container with Portainer. To resolve this issue when upgrading openHAB, first remove all default (non-overridden) ENV variables before starting the new container.

How do I ‘remove all default ENV variables’?

I do not know the original motivation behind that warning, but I can say that it has never impacted me. I’ve been running OH in docker since 3.0 and often use Portainer for quick administration, particularly upgrades. If you have your image set right (most of the time I use openhab/openhab:milestone) then you just need to press the recreate button at the top of the container details page, check the Pull latest image box and set it to go.

Whenever I do it like that it goes into a loop. I have to delete everything, pull it, then add back in all my own personal files. PITA

Strange. I wonder what I did differently. I am not enough of a docker guru to have done whatever it was on purpose, so alas, I can’t really say.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.