Redis image based on Alpine Linux with built-in healthcheck.
50K+
Docker Repository - bfren ecosystem
Basic Redis image with support for v6 and v7 and various configuration options.
| Variable | Values | Description | Default |
|---|---|---|---|
REDIS_PROTECTED_MODE | no, yes | Change this to 'yes' if you are exposing Redis to the internet, and set REDIS_BIND to the server IP (you should not normally do this!). | no |
REDIS_PASS | string | If set, clients must authenticate with this password (AUTH). | blank |
REDIS_BIND | IP | Leave this blank to bind Redis to all network interfaces - only do this if you are using Redis within a private Docker network. | blank |
REDIS_LOG_LEVEL | debug, verbose, notice, warning | Log level. | notice |
REDIS_MAX_CLIENTS | integer | The maximum number of clients this instance can serve. | 10000 |
REDIS_APPEND_ONLY | no, yes | See here. | no |
REDIS_APPEND_FSYNC | no, always, everysec | See here. | everysec |
Redis warns at startup if memory overcommit is disabled, as background saves (which fork the process) may then fail under low memory. This is a kernel-wide setting so it cannot be changed from inside the container - set it on the Docker host instead:
sudo sysctl vm.overcommit_memory=1
echo 'vm.overcommit_memory = 1' | sudo tee /etc/sysctl.d/99-overcommit.conf
Copyright (c) 2020-2026 bfren (unless otherwise stated)
Content type
Image
Digest
sha256:165b7f561…
Size
35.5 MB
Last updated
about 3 hours ago
docker pull bfren/redis