Skip to content
This repository was archived by the owner on Oct 25, 2019. It is now read-only.

Commit 5f2c201

Browse files
committed
Add volumes in example command lines, using the base image disabled the automatic volumes
1 parent bf9eb4f commit 5f2c201

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Data: docker run --name gitlab_data ubuntu:14.04 /bin/true
1+
# Data: docker run --name gitlab_data --volume /var/opt/gitlab --volume /var/log/gitlab --volume /etc/gitlab ubuntu:14.04 /bin/true
22
# Run: docker run --detach --name gitlab --publish 8080:80 --publish 2222:22 --volumes-from gitlab_data genezys/gitlab:7.7.2
33

44
FROM ubuntu:14.04

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The directories on data container are:
2626
Create the data container with:
2727

2828
```bash
29-
sudo docker run --name gitlab_data ubuntu:14.04 /bin/true
29+
sudo docker run --name gitlab_data --volume /var/opt/gitlab --volume /var/log/gitlab --volume /etc/gitlab ubuntu:14.04 /bin/true
3030
```
3131

3232
After creating this, run GitLab:

0 commit comments

Comments
 (0)