diff options
author | Sytse Sijbrandij <sytse@gitlab.com> | 2015-05-07 10:24:55 +0200 |
---|---|---|
committer | Sytse Sijbrandij <sytse@gitlab.com> | 2015-05-07 10:24:55 +0200 |
commit | b18dfc8d40269d3770a432ecf28416736f7bf8d7 (patch) | |
tree | fbabda108952c2d2e94b0caa52bbe49c3da0becc /docker | |
parent | cb4e16b7a39b25676a93a27b46cfc5659c628971 (diff) | |
download | gitlab-ce-b18dfc8d40269d3770a432ecf28416736f7bf8d7.tar.gz |
No need to commit when using a dockerfile.
Diffstat (limited to 'docker')
-rw-r--r-- | docker/README.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/README.md b/docker/README.md index 5561e562637..84e4655640b 100644 --- a/docker/README.md +++ b/docker/README.md @@ -51,19 +51,19 @@ After this you can login to the web interface as explained in 'After starting a Build the image: ```bash -sudo docker build --tag gitlab-ce docker/single/ +sudo docker build --tag sytse/gitlab-ce:7.10.1 docker/single/ ``` Publish the image to Dockerhub: ```bash -sudo docker commit -m "Initial commit" -a "Sytse Sijbrandij" gitlab-ce sytse/gitlab-ce:7.10.1 -sudo docker push sytse/gitlab-ce:7.10.1 +sudo docker push sytse/gitlab-ce ``` -Troubleshoot: +Diagnosing commands: ```bash +docker run -i -t -v `pwd`/var-opt-gitlab:/var/opt/gitlab -v `pwd`/var-log-gitlab:/var/log/gitlab -v `pwd`/etc-gitlab:/etc/gitlab sytse/gitlab-ce:7.10.1 sudo docker run -ti -e TERM=linux --name gitlab-ce-troubleshoot --publish 8080:80 --publish 2222:22 sytse/gitlab-ce:7.10.1 bash /usr/local/bin/wrapper ``` |