Skip to content

RedisLabsModules/redis-docker

 
 

Repository files navigation

CircleCI Dockerhub Dockerhub

Redis Docker container

Images

Docker images generated by this repo named redisfab/redis:$VERSION-$ARCH-$OSNICK, where typical parametrized values are:

VERSION=5.0.14|6.0.18|6.2.11|7.0.10|7.2-rc1
ARCH=x64|arm64v8
OSNICK=jammy|focal|bionic|xenial|bullseye|buster|rocky8|centos7|amzn2|fedora|alpine

Building

$ make help
make [build|publish] [OSNICK=<nick> | OS=<os>]
     [VERSION=<ver> | VERSIONS="<ver>..."]
     [STD_VERSIONS=1]

build    Build image(s)
publish  Push image(s) to DockerHub

Arguments:
OSNICK=nick         nick=jammy|focal|bionic|xenial|bullseye|buster|rocky8|centos7|amzn2|fedora|alpine
OS=os               (optional) OS Docker image name (e.g., debian:buster-slim)
VERSION=ver         Redis version
VERSIONS="vers..."  Multiple Redis versions
STD_VERSIONS=1      Build latest versions of 6.0 and 6.2 branches
MASTER=1            Build sources from master branch ("edge" version)
LATEST=1            Build the latest version of branch given by VERSION
TEST=1              Run tests after build
CACHE=0             Build without cache

Examples

From a x64 system, build redis:7.0.10-x64-bionic:

$ make build OSNICK=bionic VERSION=7.0.10

From an ARM (aarch64) system, build and redis:7.0.10-arm64v8-bionic:

$ make build OSNICK=bionic VERSION=7.0.10

Build all standard versions (latest version of Redis 5.0, 6.0, 6.2, 7.0, 7.2) for Rocky Linux 8:

$ make build OSNICK=rocky8 STD_VERSIONS=1

Currently synched with commit f2da8752a05b783eb805b67ad7a56a997a0fe91f of docker-library/redis.


From original repo:

https://github.com/docker-library/redis

Maintained by: the Docker Community

This is the Git repo of the Docker "Official Image" for redis (not to be confused with any official redis image provided by redis upstream). See the Docker Hub page for the full readme on how to use this Docker image and for information regarding contributing and issues.

The full image description on Docker Hub is generated/maintained over in the docker-library/docs repository, specifically in the redis directory.

See a change merged here that doesn't show up on Docker Hub yet?

For more information about the full official images change lifecycle, see the "An image's source changed in Git, now what?" FAQ entry.

For outstanding redis image PRs, check PRs with the "library/redis" label on the official-images repository. For the current "source of truth" for redis, see the library/redis file in the official-images repository.


  • build status badge
  • build status badge
Build Status Badges (per-arch)
amd64 build status badge arm32v5 build status badge arm32v6 build status badge arm32v7 build status badge
arm64v8 build status badge i386 build status badge mips64le build status badge ppc64le build status badge
s390x build status badge put-shared build status badge

Packages

No packages published

Languages

  • Dockerfile 56.4%
  • Shell 29.1%
  • Python 9.6%
  • Makefile 4.9%