Skip to content

Instantly share code, notes, and snippets.

@bench
Created April 5, 2019 09:28
Show Gist options
  • Save bench/da80de40ff36ac53390c83876bbef620 to your computer and use it in GitHub Desktop.
Save bench/da80de40ff36ac53390c83876bbef620 to your computer and use it in GitHub Desktop.
Create a docker runner with socket binding
sudo gitlab-runner register --tag-list "docker" --docker-volumes "/var/run/docker.sock:/var/run/docker.sock" \
--url "https://gitlab.mycompany.com/" --registration-token "Y1riedimjQuJ-rBK-SHe" --executor "docker" \
--description "ci1-docker-temp" --docker-image "docker:stable" --docker-privileged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment