Zing supports Docker since ZVM 15.09.
As Zing consists of two components, the JVM itself (ZVM) and the Zing Systems Tools (ZST), one detail is important to note when using Zing on Docker:
In addition to the two installation packages ZVM and ZST a third one, the Container-ZST is required.
This Container-ZST is available on Zing Downloads for the licensed version of Zing in the section Docker Container.
Sample filename: zing-zst-7e.ForContainer-22.214.171.124.3.el5.x86_64.rpm
- Install the standard ZST package on the host operating system where you use the docker command to launch containers. As host OS you can use any of the support OS for ZST. The ZVM package is not needed on the host OS and you don't need a license file on the host OS.
For installing ZST on the host OS, follow the documentation on Zing Installation Quick Start.
If you are using CoreOS as host OS, please follow the Docs for Docker on CoreOS instead.
- Add the following option to the start command (docker run ...) for your Docker container:
- Start the Docker container.
- Install the Container-ZST package inside the container.
- Install the standard ZVM package inside the container.
- Install the Zing license file to /etc/zing/license inside the container.
- Check for a successful installation by starting the Zing JVM inside the container:
Documentation reference, contains information how to download the Container-ZST package:
Zing Docker Quick Start