Skip to content

Instantly share code, notes, and snippets.

@srimaln91
Created September 27, 2021 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save srimaln91/8f8f888fd170351c3d9f7b1c3b001cca to your computer and use it in GitHub Desktop.
Save srimaln91/8f8f888fd170351c3d9f7b1c3b001cca to your computer and use it in GitHub Desktop.
Setup Gitlab Runner - Docker
apt install docker.io
docker volume create gitlab-runner-config
docker run -d --name gitlab-runner --restart always -v /var/run/docker.sock:/var/run/docker.sock -v gitlab-runner-config:/etc/gitlab-runner gitlab/gitlab-runner:latest
docker run --rm -it -v gitlab-runner-config:/etc/gitlab-runner gitlab/gitlab-runner:latest register
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment