Infinispan Native CLI
Starting with Infinispan 12, we provide a natively compiled version of the Infinispan CLI.
This can be consumed as a native binary or via a container image.
Start a Infinispan server instance so that the CLI has an endpoint to connect to:
docker run -it -p 11222:11222 -e USER="user" -e PASS="pass" quay.io/infinispan/server:12.1
Launch the CLI image and connect to the server image:
docker run --net=host -it --rm quay.io/infinispan/cli:12.1 -c http://127.0.0.1:11222
Enter the "user" and "pass" credentials, for the username and password respectively.
The container’s endpoint is the CLI binary, which lets you pass CLI arguments straight to the image, e.g.
Native CLI binaries for Linux, Mac and Windows can be downloaded here.
Get it, Use it, Ask us!We’re hard at work on new features, improvements and fixes, so watch this space for more announcements!
Please, download and test the latest release.
If you have questions, are experiencing a bug or want advice on using Infinispan, you can use StackOverflow. We will do our best to answer you as soon as we can.