Get Started

It’s easy… just follow these steps

Step 1

Get Infinispan

Add a username and password, then run the one of the following commands:


podman run -it -e USER="username" -e PASS="password" --net=host quay.io/infinispan/server:11.0
        


docker run -it -p 11222:11222 -e USER="username" -e PASS="password" infinispan/server:11.0
        

Step 2

Open the Console

Open localhost:11222 in any browser and then log in.

Step 3

Create a cache

Provide a name for your cache and create it from a template.

Step 4

Add data

  1. Select your cache and then *Add entry*.
  2. Specify "hello" as the key and "world" as the value.
  3. Optionally specify the time to live or maximum idle time.
  4. Select *Add* to the entry to your cache.

After you add data, you can enter the key to retrieve and view the entry.


That’s it! You’re now using Infinispan.

Visit Getting Started with Infinispan Server if you want to run on bare-metal. If you want to run in your application, go to Embedding Infinispan.