I am trying to delete a test image:
docker image rm test-image
but I'm getting
Error response from daemon: conflict: unable to remove repository reference "test-image" (must force) - container 4ca6d09c1103 is using its referenced image 133c9587889f
However, this container does not exist:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fff756b1399a rocker/shiny "/usr/bin/shiny-se..." 6 months ago Up 12 days 0.0.0.0:3838->3838/tcp shinyServerBdl2
So: What is this about?
I've called
docker build . -t test-image
docker run -it test-image
to create the image from a Dockerfile
but why can't I delete the image here? I also tried
docker rmi test-image
without success.