Tag Archives: Docker rmi Error

[Solved] Docker rmi Error: Error response from daemon: conflict: unable to delete 6c20ffa54f86 (must be forced) – image is being used by stopped container 6e81c0d9b6ab

Docker RMI deletes the image

Step 1:

If there are relevant containers   The container must be deleted first

Step 2:

After making a custom image, docker images will find that the image name is different, but the image ID is the same. Docker cannot recognize it and cannot delete it.

Docker RMI “image name” is required for deletion   Instead of ‘mirror ID’.