If you get the error “Error response from daemon: conflict: unable to delete bf756fb1ae65 (must be forced) – image is being used by stopped container 3a54da6e4046”, You’ll need to force the removal of the image.
Check your local system to see which image you want to delete
docker image ls
Identify the docker “image id” for the image you want to remove
docker image rm <image_id>
Error response from daemon: conflict: unable to delete bf756fb1ae65 (must be forced) - image is being used by stopped container 3a54da6e4046
Check out the flags you can send to the docker image rm command by using:
docker image rm --help
Add “-f” to force the image removal
docker image rm -f <image_id>