How to enable tls/ ssl in Redis 6 docker library?

Viewed 1900

The latest version of Redis Docker has introduced TLS/ SSL features. But I am not able to figure out how to enable it for Redis Docker of the latest version.

Further, I would also like to know, how to modify the number of IO threads, for multithreading, also introduced in Redis 6, for a Docker environment?

1 Answers

BUILD_TLS is enabled for Docker's Redis v6 image.

Configuring the Redis server in the container is done by:

  1. Create a config file on the host, e.g. /my/redis.conf
  2. Mount the file and give as an argument when launching the container: docker -v /my/redis.conf:/redis.conf ... redis:6.0 /redis.conf
Related