Information noteWarning: The current behavior of Docker image building in
Talend Studio is:
- Build the target image with the latest tag even if a
custom tag (for example 0.1.2) is set.
- Remove the latest tag and its alias (for example
0.1.1), then delete the image before building a new
image.
- Tag the new build image with latest and an alias (for
example 0.1.2).
As a result, the old image is always overwritten and there is only one
image with the tag latest and its alias (for example
0.1.2) of the Job in the Docker engine.
To keep the
old images, you can set the image name with the tag in the Image
name field of the Publish wizard, for
example, p1/job1:0.1.0. (Or set
-Dtalend.docker.name=p1/job1:0.1.0 in CI). Then Talend Studio will build the image with the assigned tag only and will not delete the
existing images.