I am trying docker run -t noya locally. I can't seem to reach the
http://127.0.0.1:9000/ and I can not log in to portainer.io when entering my password.
Now, I am trying to uninstall portainer (to create a new one with a new password for portainer.io) with the command
docker rmi portainer/portainer:latest
but I keep getting the error
Error response from daemon: conflict: unable to remove repository reference "portainer/portainer:latest" (must force) - container 5cffeb45c973 is using its referenced image 10383f5b5720
Whereas, when I visualize the containers running with docker container ls there is nothing showing meaning there is no containers running.
How can I stop the container 5cffeb45c973 from running in order to remove the portainer/portainer:latest image?
PS: I am a newbie to docker.
EDIT:
I tried to remove container 5cffeb45c973 using docker container rm 5cffeb45c973
Then, docker rmi portainer/portainer:latest
Same error returned as follows
Error response from daemon: conflict: unable to remove repository reference "portainer/portainer:latest" (must force) - container 2ee006f771cf is using its referenced image 10383f5b5720
Apparently a new container with ID 2ee006f771cf has been automatically referenced to the portainer image