The official redis docker image.
Maintained by: openEuler CloudNative SIG
Where to get help: openEuler CloudNative SIG, openEuler
docker buildx build -t "openeuler/redis:$VERSION" --platform linux/amd64,linux/arm64 . --push
We are using buildx in here to generate multi-arch images, see more in Docker Buildx
docker run --name my-redis -d openeuler/redis:{TAG}
docker run --name my-redis -d openeuler/redis:{TAG} redis-server --save 60 1 --loglevel warning
As shows above, this will save a snapshot of the DB every 60 seconds if at least 1 write operation was performed.
Connect to a local redis instance using loopback address
docker run --name my-redis -d -p 6379:6379 openeuler/redis:{TAG}
redis-cli -h 127.0.0.1 -p 6379
If you want connect the redis instance using hostip, you should connect to the instance using loopback, and then configure as belows
config set protected-mode no
Linux/Unix, ARM64 or x86-64 architecture.
Content type
Image
Digest
sha256:4fbfb9799…
Size
426 MB
Last updated
about 14 hours ago
docker pull openeulertest/redis:8.12.0-oe2403sp4-x86_64