Hello and good evening,
a Docker-image consists of multiple layers.
If you pull an image from a registry only the layers not yet available on the local machine are requested.
If you build an image based on another image one should think about the order of commands within the
Dockerfile - as each command creates a new layer for the image.
Therefore adding your code to the image should be the last command (or the last possible command) within the
Therefore I only have to pull the data-only-image if I changed my code instead of the complete application-container(s).
But to the best of my knowledge, it is not possible to only synchronize changes to one image(-layer).