I remember last year when I used Docker, I could clearly see the image-id of each layer through “docker history”. Now they are all <missing>, and in the past, if I only changed the content of the previous layer, all subsequent layers would be rebuilt. Now I have tested and although I have modified the content of the previous layer, only the modified layer has been rebuilt, and the subsequent layers still use caching, This is a huge optimization compared to the cache in my memory, which is very enjoyable, but I am trying to find updates on this related feature.
Server: Docker Engine - Community
Engine:
Version: 24.0.5
API version: 1.43 (minimum version 1.12)
Go version: go1.20.6
Git commit: a61e2b4
Built: Fri Jul 21 20:35:18 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.22
GitCommit: 8165feabfdfe38c65b599c4993d227328c231fca
runc:
Version: 1.1.8
GitCommit: v1.1.8-0-g82f18fe
docker-init:
Version: 0.19.0
GitCommit: de40ad0