Skip to content

Instantly share code, notes, and snippets.

@FrancisVarga
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FrancisVarga/3379dbf263f8932039e8 to your computer and use it in GitHub Desktop.
Save FrancisVarga/3379dbf263f8932039e8 to your computer and use it in GitHub Desktop.
start docker with gitlabs

How To Change Git Remote URL

1.Go to you're project folder
2.Go to .git/ folder of you're project folder
3.Open config file with you're favorite text editor
4.Understand what is in the config file
5.if you know what a url is, you know what to change.

sudo docker run --name='gitlab' -it --rm -p 10022:22 -p 10080:80 -e 'GITLAB_PORT=10080' -e 'GITLAB_SSH_PORT=1022' -e 'GITLAB_HOST=*' -e 'GITLAB_PROJECTS_VISIBILITY=public' -e 'GITLAB_BACKUPS=daily' -v /home/francis/ops/gitlab-data:/home/git/data sameersbn/gitlab:latest
sudo apt-get purge docker.io
curl -s https://get.docker.io/ubuntu/ | sudo sh
sudo apt-get update
sudo apt-get install lxc-docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment