From 3ca8a11794303d04bbae2fac9a490dee1044fba0 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sun, 11 May 2014 22:36:09 +0530 Subject: [PATCH] README: update quick start guide to have a fully functional gitlab application running. --- README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index b2733999..f67a7f4c 100644 --- a/README.md +++ b/README.md @@ -117,19 +117,15 @@ docker build --tag="$USER/gitlab" . Run the gitlab image ``` -docker run --name=gitlab -d sameersbn/gitlab:latest -GITLAB_IP=$(docker inspect gitlab | grep IPAddres | awk -F'"' '{print $4}') +docker run --name='gitlab' -i -t --rm \ +-p 127.0.0.1:10022:22 -p 127.0.0.1:10080:80 \ +-e "GITLAB_PORT=10080" -e "GITLAB_SHELL_SSH_PORT=10022" \ +sameersbn/gitlab:latest ``` -Access the GitLab application +__NOTE__: Please allow a couple of minutes for the GitLab application to start. -```bash -xdg-open "http://${GITLAB_IP}" -``` - -__NOTE__: Please allow a minute or two for the GitLab application to start. - -Login using the default username and password: +Point your browser to `http://localhost:10080` and login using the default username and password: * username: admin@local.host * password: 5iveL!fe