mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-01-18 06:34:31 -05:00
9 lines
362 B
Bash
Executable File
9 lines
362 B
Bash
Executable File
#!/usr/bin/env bash
|
|
mkdir -p /var/lib/docker/storage/gitlab/runner/config &&
|
|
chmod -Rf 777 /var/lib/docker/storage/gitlab/runner/config
|
|
|
|
docker run -d --name gitlab-runner --restart always \
|
|
-v /var/lib/docker/storage/gitlab/runner/config:/etc/gitlab-runner \
|
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
registry.casjay.in/latest/gitlab-runner:latest
|