### Description Regression test for: https://github.com/moby/moby/pull/47160 This would require a [frozen](https://github.com/moby/moby/blob/f0eef502739611f00d2d5f91c80a0436eec2983a/Dockerfile#L129-L134). or a [special](https://github.com/moby/moby/tree/v25.0.0/internal/testutils/specialimage) image that has more than one layer (probably even more than 2).