SyntaxFix
Write A Post
Hire A Developer
Questions
The answer here is to find all descendent children, which has an answer here:
docker how can I get the list of dependent child images?
Then use that to remove the child images in order.