Skip to content

Commit 89dbe08

Browse files
authored
Fix incorrect placement of -v redisinsight:/data in RedisInsight Docker installation
1 parent 137651b commit 89dbe08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/operate/redisinsight/install/install-on-docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ docker run -d --name redisinsight -p 5540:5540 redis/redisinsight:latest
2727
2. If you want to persist your Redis Insight data, first attach the Docker volume to the `/data` path and then run the following command:
2828

2929
```bash
30-
docker run -d --name redisinsight -p 5540:5540 redis/redisinsight:latest -v redisinsight:/data
30+
docker run -d --name redisinsight -p 5540:5540 -v redisinsight:/data redis/redisinsight:latest
3131
```
3232

3333
If the previous command returns a permission error, ensure that the user with `ID = 1000` has the necessary permissions to access the volume provided (`redisinsight` in the command above).

0 commit comments

Comments
 (0)