summaryrefslogtreecommitdiff
path: root/docker/troubleshooting.md
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytses@gmail.com>2014-12-02 16:24:55 +0100
committerSytse Sijbrandij <sytses@gmail.com>2014-12-02 16:24:55 +0100
commit8dd3a16227149405f2e38663c16099b53db1745d (patch)
treec0e2cce8a11c07fdf02039d1b2872a8ce32b9020 /docker/troubleshooting.md
parent40e80dbeb5d767a8a1f3142963f670fbad3ecf4c (diff)
downloadgitlab-ce-8dd3a16227149405f2e38663c16099b53db1745d.tar.gz
Change vim command.
Diffstat (limited to 'docker/troubleshooting.md')
-rw-r--r--docker/troubleshooting.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/troubleshooting.md b/docker/troubleshooting.md
index 4916d742736..1d80473c7c2 100644
--- a/docker/troubleshooting.md
+++ b/docker/troubleshooting.md
@@ -14,7 +14,7 @@ sudo docker rm -f gitlab_data
sudo docker build --tag gitlab_image docker/
sudo docker run --name gitlab_data gitlab_image /bin/true
-sudo docker run -ti --rm --volumes-from gitlab_data ubuntu apt-get install -y vim; sudo vi /etc/gitlab/gitlab.rb
+sudo docker run -ti --rm --volumes-from gitlab_data ubuntu apt-get update && sudo apt-get install -y vim && sudo vim /etc/gitlab/gitlab.rb
sudo docker run --detach --name gitlab --publish 8080:80 --publish 2222:22 --volumes-from gitlab_data gitlab_image