Updated at 03/07/2025
What happend After updating Portainer, I noticed that my account and related data were lost.
Why it happend I updated Portainer to the latest version following the official documentation.
I’ll show you how I set up Portainer in VPS.
I ran the following command:
docker run -d -p 9000:9000 --restart always -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer-ce:latest To update Portainer, I stopped the container and then removed it. After that, I ran the same command I used previously to create the container, which started the updated version.