FahamLah

Commands

docker history

docker history <image>

Risk: Safe

What it does

Shows the layers of an image and what made each one.

When to use it

To find big layers, or leaked secrets.

Example

$ docker history diary:1.0

Newest layer on top.