{"user":"redis","name":"redis-stack","namespace":"redis","repository_type":"image","status":1,"status_description":"active","description":"redis-stack installs a Redis server with additional database capabilities and the RedisInsight.","is_private":false,"is_automated":false,"star_count":164,"pull_count":24805288,"last_updated":"2025-11-03T13:49:52.133698Z","last_modified":"2026-06-23T11:47:44.272128Z","date_registered":"2022-03-07T08:16:38.16134Z","collaborator_count":0,"affiliation":null,"hub_user":"kajo","has_starred":false,"full_description":"\u003e **Note**: Redis Stack users should upgrade to [Redis](https://hub.docker.com/_/redis). New users should use [Redis](https://hub.docker.com/_/redis) instead of Redis Stack. Starting with Redis 8, we are combining our Redis Stack and community offerings into a single Redis Open Source distribution. All Redis Stack modules are included in Redis Open Source. We stopped releasing maintenance updates for Redis Stack (6.2, 7.2, and 7.4) in December 2025.\n\n# Run Redis Stack on Docker\n## \"How to install Redis Stack using Docker\"\n\nTo get started with Redis Stack using Docker, you first need to select a Docker image:\n\n* `redis/redis-stack` contains both Redis Stack server and RedisInsight. This container is best for local development because you can use RedisInsight to visualize your data.\n\n* `redis/redis-stack-server` provides Redis Stack but excludes RedisInsight. This container is best for production deployment.\n\n## Getting started\n\nIn the default configuration, Redis does not require a password to authenticate clients.  To provide basic security for your Redis Stack server, it is recommended to set a password using the requirepass directive.  Configure this using an environment variable when starting the container:\n\nTo start Redis Stack server using the `redis-stack` image, run the following command in your terminal:\n\n```\ndocker run -d --name redis-stack -p 6379:6379 -p 8001:8001 -e REDIS_ARGS=\"--requirepass mypassword\" redis/redis-stack:latest\n```\n\nYou can then connect to the server using `redis-cli`, just as you connect to any Redis instance.\n\nIf you don’t have `redis-cli` installed locally, you can run it from the Docker container:\n\n```\n$ docker exec -it redis-stack redis-cli\n```\n\n### RedisInsight\n\nThe `docker run` command above also exposes RedisInsight on port 8001. You can use RedisInsight by pointing your browser to [http://localhost:8001](http://localhost:8001).\n\nRedis Stack supports the ability to configure multiple named users, each with their own password and access control configuration.  Refer to the [Redis Access Control List documentation](https://redis.io/docs/management/security/acl/) for more information.\n\n## Configuration\n\n### Persistence\n\nTo persist your Redis data to a local path, specify `-v` to configure a local volume. This command stores all data in the local directory `local-data`:\n\n```\n$ docker run -v /local-data/:/data redis/redis-stack:latest\n```\n\n### Ports\n\nIf you want to expose Redis Stack server or RedisInsight on a different port, update the left hand of portion of the `-p` argument. This command exposes Redis Stack server on port `10001` and RedisInsight on port `13333`:\n\n```\n$ docker run -p 10001:6379 -p 13333:8001 redis/redis-stack:latest\n```\n\n### Config files\n\nBy default, the Redis Stack Docker containers use internal configuration files for Redis. To start Redis with local configuration file, you can use the `-v` volume options:\n\n```\n$ docker run -v `pwd`/local-redis-stack.conf:/redis-stack.conf -p 6379:6379 -p 8001:8001 redis/redis-stack:latest\n```\n\n### Environment variables\n\nTo pass in arbitrary configuration changes, you can set any of these environment variables:\n\n* `REDIS_ARGS`: extra arguments for Redis\n\n* `REDISEARCH_ARGS`: arguments for RediSearch\n\n* `REDISJSON_ARGS`: arguments for RedisJSON\n\n* `REDISGRAPH_ARGS`: arguments for RedisGraph\n\n* `REDISTIMESERIES_ARGS`: arguments for RedisTimeSeries\n\n* `REDISBLOOM_ARGS`: arguments for RedisBloom\n\nFor example, here's how to use the `REDIS_ARGS` environment variable to pass the `requirepass` directive to Redis:\n\n```\ndocker run -e REDIS_ARGS=\"--requirepass redis-stack\" redis/redis-stack:latest\n```\n\nHere's how to set a retention policy for RedisTimeSeries:\n\n```\ndocker run -e REDISTIMESERIES_ARGS=\"RETENTION_POLICY=20\" redis/redis-stack:latest\n```","permissions":{"read":true,"write":false,"admin":false},"media_types":["application/vnd.docker.container.image.v1+json","application/vnd.docker.distribution.manifest.list.v2+json"],"content_types":["image"],"categories":[{"name":"Message queues","slug":"message-queues"},{"name":"Data science","slug":"data-science"},{"name":"Databases \u0026 storage","slug":"databases-and-storage"}],"immutable_tags_settings":{"enabled":false,"rules":[".*"]},"storage_size":291761513524,"source":null}