find the image id and parent id for all image created after the image in question with the following:
docker inspect --format='{{.Id}} {{.Parent}}' $(docker images --filter since= -q)
Then you call command:
docker rmi {sub_image_id}
"sub_image_id" is ID of dependent image