-
[gitlab-runner] ERROR: error during connect: Get "http://docker:2375/v1.24/info": dial tcp: lookup docker on 192.168.1.1:53: no such host이것저것 2024. 2. 13. 14:41반응형Server:ERROR: error during connect: Get "http://docker:2375/v1.24/info": dial tcp: lookup docker on 192.168.1.1:53: no such hosterrors pretty printing infoCleaning up project directory and file based variables
대충 이런 에러가 나는데
/etc/gitlab-runner/config.toml를
[[runners]]
id = 0
token = "glrt-iwxLr-7Nszw7kLHTJPcn"
token_obtained_at = 0001-01-01T00:00:00Z
token_expires_at = 0001-01-01T00:00:00Z
executor = "docker"
[runners.custom_build_dir]
[runners.cache]
MaxUploadedArchiveSize = 0
[runners.cache.s3]
[runners.cache.gcs]
[runners.cache.azure]
[runners.docker]
tls_verify = false
image = "alpine:latest"
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 = 0volumes와 privileged를 수정하면 된다.
Docker에 dind에 관련한 이슈인데 자세한 개념은 딥해지니까 패스..
반응형'이것저것' 카테고리의 다른 글
CI/CD (1) Test(FastAPI/Gitlab) (0) 2024.02.13 Github Tag (0) 2024.02.13 [Intellij] static import 안먹힘 (0) 2024.01.29 파이썬 블로그 읽을거리 요약 정리 (1) (0) 2023.07.26 [Git] github push 오류 Git token <remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.> (0) 2022.02.28