Portainer keeps restarting after update to latest docker version

you simply could run dietpi-software reinstall 185 if needed. Personally I don’t think there is a need to install additional software. You will be informed about available updates as soon as you login to Portainer.

The proper way to upgrade portainer is to first stop the portainer

docker ps -a

docker stop (portainer number)

docker rm (portainer number)

then re-run the portainer-ce docker -run command to recreate with the newest image
docker run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

Upgrading on Docker Standalone - Portainer Documentation

If you want to use the dietpi version…then stop and rm (remove) the side loaded portainer…then use dietpi-software command to install it (I always manually installed it)

@WarHawk the issue has been fixed already.