run 245 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/sh

name=${1-gitlab-runner}

docker run -d \
    -v /srv/gitlab-runner/conf:/etc/gitlab-runner \
    -v /srv/gitlab-runner/home:/home/gitlab-runner \
    -v /var/run/docker.sock:/var/run/docker.sock \
    --name $name \
    gitlab-runner