summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytses@gmail.com>2014-12-01 11:41:30 +0100
committerSytse Sijbrandij <sytses@gmail.com>2014-12-01 11:41:30 +0100
commitba955fe17403e005e9f551e3b31e3d539681f4d1 (patch)
tree69fbacec3db136fc90ee8c12fe8f488c66182a7c /docker
parente08255ceea2af40f66039c7768be8de5122649f1 (diff)
downloadgitlab-ce-ba955fe17403e005e9f551e3b31e3d539681f4d1.tar.gz
Change gitlab to gitlab_image on data run and add tail, thanks Vincent Robert.
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 70e8ad93423..dddab4f74b5 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,9 +1,10 @@
# At this moment GitLab doesn't have official Docker images.
# Build your own based on the Omnibus packages with the following commands.
# The first commands assumes you're in the GitLab repo root directory.
-# Build: sudo docker build --tag gitlab_image docker/.
-# Data: sudo docker run --name gitlab_data gitlab /bin/true
-# Run: sudo docker run --detach --name gitlab --publish 8080:80 --publish 2222:22 --volumes-from gitlab_data gitlab_image
+# sudo docker build --tag gitlab_image docker/
+# sudo docker run --name gitlab_data gitlab_image /bin/true
+# sudo docker run --detach --name gitlab --publish 8080:80 --publish 2222:22 --volumes-from gitlab_data gitlab_image
+# sudo docker run -t --rm --volumes-from gitlab_data ubuntu tail -f /var/log/gitlab/reconfigure.log
FROM ubuntu:14.04
MAINTAINER Vincent Robert <vincent.robert@genezys.net>