image is being used by stopped container

前端 未结 9 412
自闭症患者
自闭症患者 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条回答
  •  -上瘾入骨i
    2021-01-30 05:14

    If you have changed in the Dockerfile and if you are using docker compose, you can just rebuild your image by run docker-compose with the --build option !

提交回复
热议问题