Skip to content

Commit 19f8c49

Browse files
author
Sameer Naik
authored
Update README.md
1 parent 5d27e36 commit 19f8c49

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ Step 2. Launch a redis container
179179

180180
```bash
181181
docker run --name gitlab-redis -d \
182-
--volume /srv/docker/gitlab/redis:/var/lib/redis \
183-
redis:5.0.9
182+
--volume /srv/docker/gitlab/redis:/data \
183+
redis:6.2
184184
```
185185

186186
Step 3. Launch the gitlab container
@@ -354,20 +354,20 @@ docker run --name gitlab -it --rm \
354354

355355
You can link this image with a redis container to satisfy gitlab's redis requirement. The alias of the redis server container should be set to **redisio** while linking with the gitlab image.
356356

357-
To illustrate linking with a redis container, we will use the [sameersbn/redis](https://github.com/sameersbn/docker-redis) image. Please refer the [README](https://github.com/sameersbn/docker-redis/blob/master/README.md) of docker-redis for details.
357+
To illustrate linking with a redis container, we will use the [redis](https://github.com/docker-library/redis) image. Please refer the [README](https://github.com/docker-library/docs/blob/master/redis/README.md) for details.
358358

359359
First, lets pull the redis image from the docker index.
360360

361361
```bash
362-
docker pull redis:5.0.9
362+
docker pull redis:6.2
363363
```
364364

365365
Lets start the redis container
366366

367367
```bash
368368
docker run --name gitlab-redis -d \
369-
--volume /srv/docker/gitlab/redis:/var/lib/redis \
370-
redis:5.0.9
369+
--volume /srv/docker/gitlab/redis:/data \
370+
redis:6.2
371371
```
372372

373373
We are now ready to start the GitLab application.

0 commit comments

Comments
 (0)