I created a gitlab runner in GCP VM following a tutorial. But I'm getting the following error.
.gitlab-ci.yml
stages:
- ".pre"
- lint
- integration
image: node:stable
before_script:
- apt-get update
- npm install --progress=false
- node -v
lint:
stage: lint
tags:
- test
script:
- npm run lint
docker ps shows that the container is running.
config.toml
concurrent = 1
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "gitlab-runner"
url = "https://gitlab.com/"
token = ""
executor = "docker"
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.cache.azure]
[runners.docker]
tls_verify = false
image = "docker:stable"
privileged = true
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/var/run/docker.sock:/var/run/docker.sock","/cache"]
shm_size = 0
I'm new to docker, can't find the error reason. Is there someone who can help me?