redis
Redis Overview
Secure your stack with a hardened Redis image freshly-built by Minimus. Minimus images always include the most up-to-date package version for all packages and dependencies contained in the image.
Use the Redis container image to run Redis as an isolated, portable in-memory data store for caching, sessions, messaging, and real-time data handling. Deploy Redis with TLS enabled using our guide.
Try It Out
Take the Minimus Redis image for a test run:
docker run --rm \
-p 6379:6379 \
reg.mini.dev/redisThis command will start the Redis server container and map port 6379/TCP in the Redis container to port 6379/TCP on the localhost.
We can test the connection to the Redis server either from another Redis container (as a client) or from our host machine.
Option 1: From another Redis container
In another terminal, run the following command to start and enter a Redis client container:
docker run --rm --network host -it --entrypoint /bin/bash reg.mini.dev/redisOnce you're inside the container (you’ll see a prompt like bash-5.2$), run the following command to retrieve server details from the Redis instance:
redis-cli -h 127.0.0.1 -p 6379 info serverYou should get a response something like:
# Server
redis_version:7.4.3
redis_git_sha1:...
...Option 2: From your host machine
In another terminal, install the Redis command-line tools using:
sudo apt install redis-tools Once the tools are installed, you can run redis-cli commands to interact with your Redis server container. For example, to view Redis server details, run:
redis-cli -h 127.0.0.1 -p 6379 info serverYou should receive output similar to:
# Server
redis_version:7.4.3
redis_git_sha1:...
...Technical Considerations
The Redis image provided by Minimus is a slim, security-hardened alternative to the public image from Docker Hub. The images are largely interchangeable, with a few differences as noted below.
Redis built by Minimus:
- Runs as non-root by default for a security-first approach that protects against privilege escalation attacks. The public image runs as root.
- Listens on port 6379/TCP by default without exposing it. The public image listens on and exposes port 6379/TCP by default.
- The image does not expose a volume by default. The public image exposes the volume
/databy default. - Drill down on the version specification tab for the complete list of environment variables.
The Payoff
A hardened, minimal image that will remain more secure for the long run and accrue vulnerabilities at a slower rate.
- See the risk reduction dashboard for a detailed CVE comparison over the past 30 days.
- Review the compliance report to see the default hardening and security configurations for the image.
Terms & Info
Trademark
This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.
Disclaimer
Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.