Step 9: Save TIBCO MFT Internet Server Docker Image to a Repository
Now that the Docker image has been built, tested, and executed, you can save it to a Docker registry. You must save the Docker image to a file or push the image to a repository to make the image available to all nodes.
There are many ways to make images available to all nodes. The instructions below show how this is done by saving the image to a file. If your company has a repository, you can use your repository to hold the TIBCO MFT Internet Server images.
- Procedure
- Execute the following Docker command:
docker save -o
mftisv.v.v.tar library/
mftis:v.v.v (where v.v.v is the product version)
Note: If do not specify a version, all version images are saved; otherwise, only the defined image is saved. The command creates a file called mftisv.v.v.tar. - Optional: Copy
mftisv.v.v.tar to each Kubernetes node.
Note: If you create a hotfix, use the format: mftis:v.v.v_HF-nnn (where nnn is the hotfix number). If you use a repository, you do not need to execute this step.The image is now available to all the Kubernetes nodes.
- Optional: From the Kubernetes nodes, load the Docker image files using the following command.
docker load -i
mftisv.v.v.tar