Zing supports Docker since ZVM 15.09.
Since ZVM 19.07 Zing does not need the ZST component any more which was required in earlier versions. To run Zing within a Container now you only need to install the ZVM tar.gz package inside the container. It is available for download at the tar.gz icon on the Zing quick start page.
For old ZVM versions before 19.07, here the instructions to use it with the ZST component:
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-126.96.36.199.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