Skip to content

Instantly share code, notes, and snippets.

@cburmeister
Created February 17, 2015 08:27
Show Gist options
  • Save cburmeister/cfb6f7d43717a3051f0f to your computer and use it in GitHub Desktop.
Save cburmeister/cfb6f7d43717a3051f0f to your computer and use it in GitHub Desktop.
Run GitLab with Docker in less than 5 minutes. https://github.com/sameersbn/docker-gitlab
#!/bin/bash
docker run --name='gitlab' -it --rm \
-e 'GITLAB_PORT=10080' -e 'GITLAB_SSH_PORT=10022' \
-p 10022:22 -p 10080:80 \
-v /var/run/docker.sock:/run/docker.sock \
-v $(which docker):/bin/docker \
sameersbn/gitlab:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment