Return to Image List

redis

redis

Redis is an open-source, networked, in-memory, key-value data store with optional durability. It is written in ANSI C. The development of Redis is sponsored by Redis Labs today; before that, it was sponsored by Pivotal and VMware. According to the monthly ranking by DB-Engines.com, Redis is the most popular key-value store. The name Redis means Remote Dictionary Server.

See redis.io for more information

This image is built by IBM to run on the IBM Z architecture and is not affiliated with any other community that provides a version of this image.


License

View license information here

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.


Versions

Use the pull string below for the version of this image you require.
6.2.6 docker pull icr.io/ibmz/redis@sha256:ea17e0d3bff96aa84c458aee06404e1ea708eb5edc094bb47e38652ae7583f69 Vulnerability Report02-17-2022
7.0.4-bullseye docker pull icr.io/ibmz/redis@sha256:e715dd896981103aaf525d28938c36b91ce478231f7a4cca4f926f336c7cc832 Vulnerability Report09-09-2022
6.2.5 docker pull icr.io/ibmz/redis@sha256:cf721fe8d72b9d04e6bc2aca84f56fc8cdea58576893ecc4ae788fdbbfbd79d8 Vulnerability Report10-05-2021
7.0.0-bullseye docker pull icr.io/ibmz/redis@sha256:8bb03cebea9c0c1e9ca6ff6ea69897ffc13db80a8ca059f51bdb07104b6c78af Vulnerability Report06-06-2022
7.0.1-bullseye docker pull icr.io/ibmz/redis@sha256:5b5f6a61e47c54098dd95171fee127533b20840900b456f2404c27978b5215d9 Vulnerability Report06-10-2022
7.0.9-bullseye docker pull icr.io/ibmz/redis@sha256:426604d209e0327cea9b0a3fdd195389a0050214f00c127db34dd38bdc1e1c25 Vulnerability Report03-13-2023
Version Pull String Security (IBM Cloud) Created

Usage Notes

Start a redis instance:

docker run --name some-redis -d icr.io/ibmz/redis:[version]

Start with persistent storage:

docker run --name some-redis -d icr.io/ibmz/redis:[version] redis-server --appendonly yes

If persistence is enabled, data is stored in the VOLUME /data, which can be used with docker volumes.

connecting via redis-cli:

docker run -it --network some-network --rm icr.io/ibmz/redis:[version] redis-cli -h some-redis

Additionally, If you want to use your own redis.conf... you can create your own Dockerfile that adds a redis.conf from the context into /data/, like so.

FROM icr.io/ibmz/redis:[version]
COPY redis.conf /usr/local/etc/redis/redis.conf
CMD [ "redis-server", "/usr/local/etc/redis/redis.conf" ]

Alternatively, you can mount a docker volume that contains the custom config file:

docker run -v /redis.conf:/usr/local/etc/redis/redis.conf --name myredis \
        icr.io/ibmz/redis:[version] redis-server /usr/local/etc/redis/redis.conf