6.2.6 | docker pull icr.io/ibmz/redis@sha256:ea17e0d3bff96aa84c458aee06404e1ea708eb5edc094bb47e38652ae7583f69 | Vulnerability Report | 02-17-2022 | 7.0.4-bullseye | docker pull icr.io/ibmz/redis@sha256:e715dd896981103aaf525d28938c36b91ce478231f7a4cca4f926f336c7cc832 | Vulnerability Report | 09-09-2022 | 6.2.5 | docker pull icr.io/ibmz/redis@sha256:cf721fe8d72b9d04e6bc2aca84f56fc8cdea58576893ecc4ae788fdbbfbd79d8 | Vulnerability Report | 10-05-2021 | 7.0.0-bullseye | docker pull icr.io/ibmz/redis@sha256:8bb03cebea9c0c1e9ca6ff6ea69897ffc13db80a8ca059f51bdb07104b6c78af | Vulnerability Report | 06-06-2022 | 7.0.1-bullseye | docker pull icr.io/ibmz/redis@sha256:5b5f6a61e47c54098dd95171fee127533b20840900b456f2404c27978b5215d9 | Vulnerability Report | 06-10-2022 | 7.0.9-bullseye | docker pull icr.io/ibmz/redis@sha256:426604d209e0327cea9b0a3fdd195389a0050214f00c127db34dd38bdc1e1c25 | Vulnerability Report | 03-13-2023 |
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