run-gitlab.sh
For the very first time you connect to http://0.0.0.0:28080/, the web GUI will prompt for "root" password - default is 'gitlab_root_password'.
GitLab Docker User Guide (complete)
Note that we change the port from 22 to 28022. Hence the following commands need to use "28022" instead.
Command line instructions
Git global setup
git config --global user.name "Administrator"
git config --global user.email "admin@example.com"
Create a new repository
git clone http://127.0.0.1:28022/root/my-awesome.git
cd my-awesome
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder
cd existing_folder
git init
git remote add origin http://127.0.0.1:28022/root/my-awesome.git
git add .
git commit -m "Initial commit"
git push -u origin master
Existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin http://127.0.0.1:28022/root/my-awesome.git
git push -u origin --all
git push -u origin --tags