Closed craigpastro closed 3 months ago
Args to redis-server
can just be passed in on the docker command line (anything after the image):
$ docker run --rm --name redis redis --cluster-enabled yes
Also, duplicate of https://github.com/docker-library/redis/issues/30 :sweat_smile:
Thanks @yosifkit! That's very helpful to know.
I want to use a Redis test container with clustered mode on to test my service, but I haven't found any nice way to do this. Do you know of any?
Unlike the
redis/redis-stack
image, this image does not seem to use theREDIS_ARGS
environment variable. I suppose if it did, I could do something like:Anyway, I appreciate any help. Thank you!