Skip to content

Instantly share code, notes, and snippets.

@camarin24
Created October 11, 2017 00:17
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 camarin24/2b48dc4f3fe4a100a761baffdf5a82b0 to your computer and use it in GitHub Desktop.
Save camarin24/2b48dc4f3fe4a100a761baffdf5a82b0 to your computer and use it in GitHub Desktop.
GitLab Docker command line
docker run --detach --name gitlab --hostname 127.0.0.1 --publish 30080:30080 --publish 30022:22 --env GITLAB_OMNIBUS_CONFIG="external_url 'http://127.0.0.1:30080'; gitlab_rails['gitlab_shell_ssh_port']=30022;" gitlab/gitlab-ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment