| 7.2 | docker pull icr.io/ibmz/redis@sha256:c6ccb4dfadfa4a4c6851fd4b65d1a606ff06930643cdae5d1d1da0d0a052cddb | Vulnerability Report | 01-12-2026 |
| Version | Pull String | Security (IBM Cloud) | Created |
|---|---|---|---|
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