docker rmi --no-prune <image_id>
Meaning: Prevents pruning of unused parent images. Usage: Keeps the parent images when removing the image. Example: docker rmi --no-prune my-image removes my-image without pruning parent images.
docker rmi --no-prune my-image
my-image