Skip to content

Commit 7d0ceb3

Browse files
authored
Add run with docker (RedisJSON#888)
1 parent f43dfb8 commit 7d0ceb3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/docs/_index.md

+22
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,28 @@ dog = r.json().get('doc', '$.dog')
151151
scientific_name = r.json().get('doc', '$..scientific-name')
152152
```
153153

154+
### Run with Docker
155+
156+
To run RedisJSON with Docker, use the `redis-stack-server` Docker image:
157+
158+
```sh
159+
$ docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest
160+
```
161+
162+
For more information about running Redis Stack in a Docker container, see [Run Redis Stack on Docker](/docs/stack/get-started/install/docker/).
163+
164+
### Download binaries
165+
166+
To download and run RedisJSON from a precompiled binary:
167+
168+
1. Download a precompiled version of RediSearch from the [Redis download center](https://redis.com/download-center/modules/).
169+
170+
1. Run Redis with RedisJSON:
171+
172+
```sh
173+
$ redis-server --loadmodule /path/to/module/src/rejson.so
174+
```
175+
154176
### Build from source
155177

156178
To build RedisJSON from the source code:

0 commit comments

Comments
 (0)