Skip to content

Repository files navigation

Redis Docker Container Image

Build Status Docker Pulls Docker Stars

Docker Images

Use image revision tags such as wodby/redis:8-rN to select a Wodby image revision. Major and minor tags use the repository release number, starting at r0. Full-version tags such as wodby/redis:8.6.6-r0 start at r0 for each exact upstream version. Every published versioned revision tag has a matching annotated Git tag pointing to its release commit. Existing tags remain available after support for their major or minor version ends. See release tags for available revisions and the image revision policy for upgrade guidance. Previously published image tags remain available.

Overview:

Supported tags and respective Dockerfile links:

All images built for linux/amd64 and linux/arm64

Environment Variables

Variable Default Value Description
REDIS_ACTIVE_REHASHING yes
REDIS_APPENDONLY yes Used only when REDIS_SAVE_TO_DISK set
REDIS_APPENDFSYNC everysec
REDIS_DATABASES 16
REDIS_DBFILENAME dump.rdb
REDIS_IO_THREADS 1
REDIS_LATENCY_MONITOR_THRESHOLD 0
REDIS_LIST_MAX_ZIPLIST_ENTRIES 512
REDIS_LIST_MAX_ZIPLIST_VALUE 64
REDIS_LOGFILE
REDIS_LUA_TIME_LIMIT 5000
REDIS_MAXMEMORY 128m
REDIS_MAXMEMORY_POLICY allkeys-lru
REDIS_MAXMEMORY_SAMPLES 3
REDIS_NOTIFY_KEYSPACE_EVENTS
REDIS_PASSWORD
REDIS_SAVE_TO_DISK when set to any value redis will save data to disk, by default hybrid method (both RDB and AOF)
REDIS_SAVES 900:1/300:10/60:10000 Used only when REDIS_SAVE_TO_DISK set
REDIS_SET_MAX_INTSET_ENTRIES 512
REDIS_SLOWLOG_MAX_LEN 32
REDIS_SLOWLOG_SLOWER_THAN 10000
REDIS_TCP_BACKLOG 511
REDIS_TCP_KEEPALIVE 60
REDIS_TIMEOUT 300

Orchestration Actions

Usage:

make COMMAND [params ...]
 
commands:
    check-ready host max_try wait_seconds delay_seconds
    flushall host
    
default params values:
    host localhost
    max_try 1
    wait_seconds 1
    delay_seconds 0

Deployment

Deploy Redis to your server via Wodby Wodby.

Building with pinned base images

Build with the Makefile to use the base image digests in base-images.mk. Local builds and CI resolve the same version and variant to the same multi-platform image. A version without a pin fails before the build starts.

When adding a supported base version or variant, add its image index digest to base-images.mk. For a custom build, override BASE_IMAGE with a complete repository:tag@sha256:... reference.

About

Redis docker container image

Topics

Resources

Stars

4 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages