docker history
安全イメージレイヤー履歴
docker history <image>
イメージの各レイヤーと生成コマンド・サイズを表示。肥大化レイヤーの特定やビルド内容の点検に。
実行例
docker history --no-trunc app:latestレイヤーの全コマンドを確認
書式
docker history [--no-trunc] <image>
実行前の注意
参照のみ。
関連コマンド
- docker imagesイメージ一覧/削除
- docker buildイメージをビルド