- 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 200009. - Removes unnecessary gosu SUID binary.
redis:
container_name: redis
image: ghcr.io/polarix-containers/redis:7
restart: unless-stopped
volumes:
- ./redis:/data:Z
healthcheck:
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
interval: 15s
timeout: 5s
user: "200009:200009"
read_only: true
security_opt:
- "no-new-privileges=true"
cap_drop:
- ALL
- The image is built on
docker.io/redis. - Starting on March 20th, 2024, Redis follows a dual-licensing model with the choice of the Redis Source Available License v2 - RSALv2 or the Server Side Public License v1 - SSPLv1. Older versions of Redis (<=7.2.4) are licensed under 3-Clause BSD. Please also view the Redis License Overview and the Redis Trademark Policy.
- Any image built by Polarix Containers is provided under the combination of license terms resulting from the use of individual packages.