docker-cake
Command line tool to compare image layers across tegs, build to optimize storage usage
Install:
gem install docker-cake
Example:
docker-cake library/redmine
+-----------------+---------------------+------------+--------+--------------+--------------+------------+-----------+
| Tag | Date | Size | Layers | Reuse Layers | Extra Layers | Extra Size | Same as |
+-----------------+---------------------+------------+--------+--------------+--------------+------------+-----------+
| 3.4.1 | 2017-07-13 23:09:32 | 240.249 MB | 34 | 18 | 16 | 240.249 MB | |
| 3.4.1-passenger | 2017-07-13 23:09:58 | 258.997 MB | 38 | 36 | 2 | 18.748 MB | |
| 3.4 | 2017-08-07 23:17:29 | 240.502 MB | 34 | 19 | 15 | 240.502 MB | |
| 3.4.2 | 2017-08-07 23:17:29 | 240.502 MB | 34 | 34 | 0 | 0 Bytes | 3.4 |
| 3 | 2017-08-07 23:17:29 | 240.502 MB | 34 | 34 | 0 | 0 Bytes | 3.4 |
| latest | 2017-08-07 23:17:29 | 240.502 MB | 34 | 34 | 0 | 0 Bytes | 3.4 |
| passenger | 2017-08-07 23:18:15 | 259.285 MB | 38 | 36 | 2 | 18.784 MB | |
| 3.4-passenger | 2017-08-07 23:18:15 | 259.285 MB | 38 | 38 | 0 | 0 Bytes | passenger |
| 3.4.2-passenger | 2017-08-07 23:18:15 | 259.285 MB | 38 | 38 | 0 | 0 Bytes | passenger |
| 3.3 | 2017-08-07 23:22:16 | 251.748 MB | 34 | 22 | 12 | 188.982 MB | |
+-----------------+---------------------+------------+--------+--------------+--------------+------------+-----------+