image is being used by stopped container

前端 未结 9 410
自闭症患者
自闭症患者 2021-01-30 05:08

I am trying to delete a docker container by this command:

docker rmi 

Obviously, I have replaced the Image-Id by the Id I get u

9条回答
  •  走了就别回头了
    2021-01-30 05:28

    You must remove container first.
    Forced is the last method to take.

    #check container
    docker ps -a
    
    #remove container
    docker rm containerID
    

提交回复
热议问题