Gitlab Runner - Docker API - Executor - container init caused \"setenv: invalid argument\"": unknown (docker.go:884:0s)


When launching my gitlab pipeline with a python runner using a Docker executor (with version 19.03.8 and API 1.40) I get the following error

ERROR: Job failed (system failure): Error response from daemon: OCI runtime create failed: container_linux.go: 349: starting container process caused "process_linux.go: 449: container init caused " setenv: invalid argument \ “”: unknown (docker.go: 883: 0s)

I using Gitlab-Runner 12.9.1

Could you help me solve this problem

Thank you in advance


can you please share the CI configuration, especially the CI environment variables? And in case you have modified the runner’s configuration, the env variables section too.

The error sounds like an environment variable contains something suspicious as a value where this fails now. Could also be a bug in 12.9.x, have you checked the Changelog already? :slight_smile: