Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Follow the steps below to publish a Job as a Docker image.
Procedure
-
Open Talend Studio and create a simple Standard
Job like below, and make sure it runs successfully.
-
Right-click the Job in the Repository tree view, and select
Publish from the contextual menu.
-
From the Export Type, select Docker
Image and click Next.
-
Select Local as the Docker host, and provide the
following details together with your docker registry credentials.
- Image name: A name for the docker image. A repository will be created with the same name in the Docker registry.
- Image tag: A value to tag your Docker image. By default, the Job version will be the tag value.
- Registry: Provide the Docker registry URL with your Docker ID. For Docker Hub, it will be hub.docker.com/dockerId.
- Username and Password: The credentials you use to connect to Docker registry.
-
Log in to your Docker registry account.
Under the Repositories tab, you can see the Docker image containing the Job was created.