Skip to content

Instantly share code, notes, and snippets.

@scicco
Created March 7, 2023 16:31
Show Gist options
  • Save scicco/1bfc664ef88f90608c4b5485f3f14d4d to your computer and use it in GitHub Desktop.
Save scicco/1bfc664ef88f90608c4b5485f3f14d4d to your computer and use it in GitHub Desktop.
run_gitlab_runner.sh
#!/bin/bash
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
docker logs -f gitlab-runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment