我正在docker run -t noya
本地尝试。我似乎无法访问
http://127.0.0.1:9000/ 并且在输入密码时无法登录 portainer.io。
现在,我正在尝试使用以下命令卸载 portainer(使用新密码为 portainer.io 创建一个新的)
docker rmi portainer/portainer:latest
但我不断收到错误
Error response from daemon: conflict: unable to remove repository reference "portainer/portainer:latest" (must force) - container 5cffeb45c973 is using its referenced image 10383f5b5720
然而,当我想象正在运行的容器时,docker container ls
没有任何迹象表明没有容器在运行。
如何停止容器5cffeb45c973
运行以删除portainer/portainer:lates
t 图像?
PS:我是码头工人的新手。
编辑:
我尝试5cffeb45c973
使用删除容器docker container rm 5cffeb45c973
然后,docker rmi portainer/portainer:latest
返回相同的错误如下
Error response from daemon: conflict: unable to remove repository reference "portainer/portainer:latest" (must force) - container 2ee006f771cf is using its referenced image 10383f5b5720
显然,带有 ID 的新容器2ee006f771cf
已自动引用到搬运工图像