mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 16:53:05 +02:00
[bitnami/redis] Release 8.6.3-debian-12-r0 (#92799)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -7,13 +7,13 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2026-04-08T21:19:46Z" \
|
||||
org.opencontainers.image.created="2026-05-05T19:11:17Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/redis/README.md" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/redis" \
|
||||
org.opencontainers.image.title="redis" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
org.opencontainers.image.version="8.6.2"
|
||||
org.opencontainers.image.version="8.6.3"
|
||||
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
@@ -29,7 +29,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
||||
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
COMPONENTS=( \
|
||||
"wait-for-port-1.0.10-9-linux-${OS_ARCH}-debian-12" \
|
||||
"redis-8.6.2-0-linux-${OS_ARCH}-debian-12" \
|
||||
"redis-8.6.3-0-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
@@ -50,9 +50,9 @@ RUN uninstall_packages curl
|
||||
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/redis/postunpack.sh
|
||||
ENV APP_VERSION="8.6.2" \
|
||||
ENV APP_VERSION="8.6.3" \
|
||||
BITNAMI_APP_NAME="redis" \
|
||||
IMAGE_REVISION="1" \
|
||||
IMAGE_REVISION="0" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/redis/bin:$PATH"
|
||||
|
||||
EXPOSE 6379
|
||||
|
||||
+9
-67
@@ -11,7 +11,13 @@ Disclaimer: Redis is a registered trademark of Redis Ltd. Any rights therein are
|
||||
docker run --name redis -e ALLOW_EMPTY_PASSWORD=yes bitnami/redis:latest
|
||||
```
|
||||
|
||||
**Warning**: These quick setups are only intended for development environments. You are encouraged to change the insecure default credentials and check out the available configuration options in the [Configuration](#configuration) section for a more secure deployment.
|
||||
## Using `docker-compose.yml`
|
||||
|
||||
The docker-compose.yaml file of this container can be found in the [Bitnami Containers repository](https://github.com/bitnami/containers/).
|
||||
|
||||
[https://github.com/bitnami/containers/tree/main/bitnami/redis/docker-compose.yml](https://github.com/bitnami/containers/tree/main/bitnami/redis/docker-compose.yml)
|
||||
|
||||
Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes. For production-ready deployments, we highly recommend utilizing its associated [Bitnami Helm chart](https://github.com/bitnami/charts/tree/main/bitnami/redis).
|
||||
|
||||
## Why use Bitnami Secure Images?
|
||||
|
||||
@@ -46,13 +52,9 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
||||
|
||||
The Bitnami Redis® Docker image is only available to [Bitnami Secure Images](https://bitnami.com) customers.
|
||||
|
||||
## Using `docker-compose.yaml`
|
||||
|
||||
Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes. For production-ready deployments, we highly recommend utilizing its associated [Bitnami Helm chart](https://github.com/bitnami/charts/tree/main/bitnami/redis).
|
||||
|
||||
## Persisting your database
|
||||
|
||||
Redis(R) provides a different range of [persistence options](https://redis.io/topics/persistence). This contanier uses *AOF persistence by default* but it is easy to overwrite that configuration in a `docker-compose.yaml` file with this entry `command: /opt/bitnami/scripts/redis/run.sh --appendonly no`. Alternatively, you may use the `REDIS_AOF_ENABLED` env variable as explained in [Disabling AOF persistence](https://github.com/bitnami/containers/blob/main/bitnami/redis#disabling-aof-persistence).
|
||||
Redis(R) provides a different range of [persistence options](https://redis.io/topics/persistence). This contanier uses *AOF persistence by default* but it is easy to overwrite that configuration by setting the following command when running the container `/opt/bitnami/scripts/redis/run.sh --appendonly no`. Alternatively, you may use the `REDIS_AOF_ENABLED` env variable as explained in [Disabling AOF persistence](https://github.com/bitnami/containers/blob/main/bitnami/redis#disabling-aof-persistence).
|
||||
|
||||
If you remove the container all your data will be lost, and the next time you run the image the database will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed.
|
||||
|
||||
@@ -145,18 +147,6 @@ Passing extra command-line flags to the redis service command is possible by add
|
||||
docker run --name redis -e ALLOW_EMPTY_PASSWORD=yes bitnami/redis:latest /opt/bitnami/scripts/redis/run.sh --maxmemory 100mb
|
||||
```
|
||||
|
||||
Alternatively, modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/redis/docker-compose.yml) file present in this repository:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
redis:
|
||||
...
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
command: /opt/bitnami/scripts/redis/run.sh --maxmemory 100mb
|
||||
...
|
||||
```
|
||||
|
||||
Refer to the [Redis(R) documentation](https://redis.io/topics/config#passing-arguments-via-the-command-line) for the complete list of arguments.
|
||||
|
||||
### Setting the server password on first run
|
||||
@@ -187,19 +177,6 @@ Redis(R) offers [ACL](https://redis.io/topics/acl) since 6.0 which allows certai
|
||||
docker run -name redis -e REDIS_ACLFILE=/opt/bitnami/redis/mounted-etc/users.acl -v /path/to/users.acl:/opt/bitnami/redis/mounted-etc/users.acl bitnami/redis:latest
|
||||
```
|
||||
|
||||
Alternatively, modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/redis/docker-compose.yml) file present in this repository:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
redis:
|
||||
...
|
||||
environment:
|
||||
- REDIS_ACLFILE=/opt/bitnami/redis/mounted-etc/users.acl
|
||||
volumes:
|
||||
- /path/to/users.acl:/opt/bitnami/redis/mounted-etc/users.acl
|
||||
...
|
||||
```
|
||||
|
||||
### Setting up replication
|
||||
|
||||
A [replication](https://redis.io/topics/replication) cluster can easily be setup with the Bitnami Redis(R) Docker Image using the following environment variables:
|
||||
@@ -242,18 +219,6 @@ docker run --name redis \
|
||||
bitnami/redis:latest
|
||||
```
|
||||
|
||||
Alternatively, modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/redis/docker-compose.yml) file present in this repository:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
redis:
|
||||
...
|
||||
volumes:
|
||||
- /path/to/your_redis.conf:/opt/bitnami/redis/mounted-etc/redis.conf
|
||||
- /path/to/redis-persistence:/bitnami/redis/data
|
||||
...
|
||||
```
|
||||
|
||||
Refer to the [Redis(R) configuration](https://redis.io/topics/config) manual for the complete list of configuration options.
|
||||
|
||||
### Overriding configuration
|
||||
@@ -267,17 +232,6 @@ docker run --name redis \
|
||||
bitnami/redis:latest
|
||||
```
|
||||
|
||||
Alternatively, modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/redis/docker-compose.yml) file present in this repository:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
redis:
|
||||
...
|
||||
volumes:
|
||||
- /path/to/overrides.conf:/opt/bitnami/redis/mounted-etc/overrides.conf
|
||||
...
|
||||
```
|
||||
|
||||
### Enable Redis(R) RDB persistence
|
||||
|
||||
When the value of `REDIS_RDB_POLICY_DISABLED` is `no` (default value) the Redis(R) default persistence strategy will be used. If you want to modify the default strategy, you can configure it through the `REDIS_RDB_POLICY` parameter.
|
||||
@@ -290,19 +244,7 @@ The Bitnami Redis® Docker image from the [Bitnami Secure Images](https://go-
|
||||
|
||||
## Logging
|
||||
|
||||
The Bitnami Redis(R) Docker image sends the container logs to the `stdout`. To view the logs:
|
||||
|
||||
```console
|
||||
docker logs redis
|
||||
```
|
||||
|
||||
or using Docker Compose:
|
||||
|
||||
```console
|
||||
docker-compose logs redis
|
||||
```
|
||||
|
||||
You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver.
|
||||
The Bitnami Redis® Docker image sends the container logs to the `stdout`. You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver.
|
||||
|
||||
## Notable Changes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user