summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorVincent Robert <vincent.robert@cantor.fr>2014-12-04 10:38:35 +0100
committerVincent Robert <vincent.robert@cantor.fr>2014-12-04 10:38:35 +0100
commit176105eca628b297fbfc20b29146f2a8d5ddd74d (patch)
tree41f77df14dc8f7368f2182412594bec33d6c312b /docker
parent58b58fe44b0924ce24f2f3e5d63b0f99fcf22f9f (diff)
downloadgitlab-ce-176105eca628b297fbfc20b29146f2a8d5ddd74d.tar.gz
Reword configuration to recommend an interactive command line
Diffstat (limited to 'docker')
-rw-r--r--docker/README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/docker/README.md b/docker/README.md
index e66278632f7..1fbf703e25c 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -51,14 +51,18 @@ How to configure GitLab
This container uses the official Omnibus GitLab distribution, so all configuration is done in the unique configuration file `/etc/gitlab/gitlab.rb`.
-To access GitLab configuration, you can start a new container using the shared data volume container:
+To access GitLab configuration, you can start an interactive command line in a new container using the shared data volume container, you will be able to browse the 3 directories and use your favorite text editor:
- docker run -ti --rm --volumes-from gitlab_data ubuntu vi /etc/gitlab/gitlab.rb
+```bash
+docker run -ti -e TERM=linux --rm --volumes-from gitlab_data ubuntu
+vi /etc/gitlab/gitlab.rb
+```
**Note** that GitLab will reconfigure itself **at each container start.** You will need to restart the container to reconfigure your GitLab.
You can find all available options in [Omnibus GitLab documentation](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md#configuration).
+
Troubleshooting
=========================
Please see the [troubleshooting](troubleshooting.md) file in this directory.