Created
September 27, 2021 17:13
-
-
Save srimaln91/8f8f888fd170351c3d9f7b1c3b001cca to your computer and use it in GitHub Desktop.
Setup Gitlab Runner - Docker
This file contains 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
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