This directory contains the definition for the unikraft.org/redis:7.2
image starting a Redis instance.
To run this image, install Unikraft's companion command-line toolchain kraft
and then you can run:
kraft run -p 6379:6379 unikraft.org/redis:7.2
Query the server using redis-cli
with a set of commands such as below:
$ redis-cli -h localhost
localhost:6379> ping
PONG
localhost:6379> set a 1
OK
localhost:6379> get a
"1"