Probably the same as https://dietpi.com/forum/t/portainer-fails-to-reinstall/17215
Can you check
docker ps -a