#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <unistd.h>
#include <openssl/ssl.h>
$ curl -sS https://raw.githubusercontent.com/redis/redis/5.0/redis.conf -o redis5.conf
$ curl -sS https://raw.githubusercontent.com/redis/redis/7.2/redis.conf -o redis7.conf
$ docker run --rm -it \
-v "$PWD/redis5.conf:/etc/redis.conf" \
-v redis:/data \
redis:5.0.14-alpine3.16 redis-server /etc/redis.conf
NewerOlder