Created
March 7, 2023 16:31
-
-
Save scicco/1bfc664ef88f90608c4b5485f3f14d4d to your computer and use it in GitHub Desktop.
run_gitlab_runner.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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