= Redis = '''Redis''' is a key-value database. <> ---- == Installation == Most [[Linux]] distributions offer a `redis` package. For `systemd`-capable systems, [[Linux/Systemd|start and enable]] `redis.service`. === Containers === [[Docker]] container images are also available for recent versions. The images are available from [[Docker/Hub|DockerHub]] as `docker.io/library/redis` (or simply `redis` when using `docker(1)` specifically). Try: {{{ sudo docker run --detach --name my-redis redis:latest }}} To run with persistent storage, try: {{{ sudo docker run --detach --name my-redis \ --mount type=bind,src=/path/to/cache,dst=/data \ redis:latest redis-server --save 60 1 --loglevel warning }}} This causes a data snapshot to be written to the data directory every 60 seconds if there was at least 1 write operation. ---- == Configuration == ---- == See also == [[https://redis.io/docs/|Redis Documentation]] ---- CategoryRicottone