williamyeh/redis
Repository name in Docker Hub: williamyeh/redis
This repository contains Dockerized Redis, published to the public Docker Hub via automated build mechanism.
This docker image contains the following software stack:
OS: Debian jessie (built from debian:jessie).
Redis
0.4 - Make client
more flexible.
0.3 - Add more convenient wrapper (benchmark
).
0.2 - Add more convenient wrappers (usage.sh
, start
, client
).
0.1 - This repository was forked from dockerfile/redis.
There has been quite a few Redis images for Docker (e.g., search in the Docker Hub), so why reinvent the wheel?
In the beginning I used the dockerfile/redis. It worked well, but left some room for improvement:
Base OS image - It was built from dockerfile/ubuntu, which may not be the smallest one. On the other hand, debian:jessie, as recommended in this article, worth a try.
Unnecessary dependencies - It installed, at the very beginning of its parent's Dockerfile, the software-properties-common package, which in turns installed some Python3 packages. I prefered to incorporate these stuff only when absolutely needed.
Therefore, I built this Docker image on my own, also as an exercise.
In addition, I add several convenient wrappers for Redis executables.
Now Docker official image redis
has smaller image size and good version management. You may try it, instead.
$ docker pull williamyeh/redis
Show usage
$ docker run --rm williamyeh/redis
docker pull williamyeh/redis