You can by marking the string layers of the image, if you have access to them. As described here .
In your case, what could happen is that from v1.10.0 onward they have changed the way the docker engine handles content addressing , discussed here .
What does this mean that you will not have access to the assembly layers if you did not build this image on the current computer or exported or downloaded by combining:
docker save imagename build-layer1 build-layer2 build-layer3 > image-caching.tar docker load -i image-caching.tar
The user posted a convenient way to save this cache in the discussion that I talked about earlier:
docker save imagename $(sudo docker history -q imagename | tail -n +2 | grep -v \<missing\> | tr '\n' ' ') > image-caching.tar
This should collect all the assembly layers of the given image and save them in the tar file of the cache file.
source share