A redis cluster running in Kubernetes. The docker image embeds the redis-trib.rb used in the tutorial as a redis-trib binary in the container's PATH for convenience.
FROM redis
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y update \
&& apt-get -y install wget \
&& apt-get -y upgrade \
&& apt-get -y --no-install-recommends install ruby \
&& gem install redis \
&& apt-get -y autoremove \
&& apt-get -y clean
RUN wget -O /usr/local/bin/redis-trib http://download.redis.io/redis-stable/src/redis-trib.rb
RUN chmod 755 /usr/local/bin/redis-trib
CMD redis-server
Content type
Image
Digest
Size
67.6 MB
Last updated
about 9 years ago
docker pull aditazz/redis-cluster:v1