Docker and CI/CD · Middle · Question 73 of 75
What does docker history my-app help you find?
- 1Which containers were started from the image and when
- ✓Correct answer: Which instructions created which layers and how big each is
- 3Which users pulled the image from the registry
Explanation
It lists layers with their size and the instruction that produced them, a quick way to spot a huge COPY or a forgotten cache folder.