Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.83 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.83 KB

Redis

Build 7, scan & push Build 6, scan & push

⚠️ Due to Redis's licensing change, we highly recommend that you use our Valkey container instead. Valkey is permissively licensed, is a drop in replacement for Redis, and will receive more attention and testing from us.

Features & usage

  • Built on the Docker Community's Alpine-based image, to be used as a drop-in replacement.
  • Unprivileged image: you should check your volumes' permissions (eg /data), default UID/GID 3008.
  • Removes unnecessary gosu SUID binary.

Sample Docker Compose config

  redis:
    container_name: redis
    image: ghcr.io/polarix-containers/redis:7
    restart: unless-stopped
    volumes:
      - ./redis:/data:Z
    user: "3008:3008"
    read_only: true
    security_opt:
      - "no-new-privileges=true"
    cap_drop:
      - ALL

Licensing