Cannot update portainer due to container being used?

latest version is 2.19.4 isn’t it? At least that’s the one marked as stable. Even if 2.20. have been released yesterday

anyway. From the error menu, open a subshell and stop the container

docker stop portainer

Btw: I did a simple test an it was working without issues

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing Portainer: Simplifies container management in Docker (standalone host)

[  OK  ] DietPi-Software | docker container rm -f 109306cda45e
[  OK  ] DietPi-Software | docker image rm f12f1fd2694d
[ INFO ] DietPi-Software | Portainer will be deployed now. This could take a while...
[ INFO ] DietPi-Software | docker run -d -p 9002:9000 --name=portainer --restart=always -v /run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce, please wait...
Unable to find image 'portainer/portainer-ce:latest' locally
latest: Pulling from portainer/portainer-ce
1 Like