Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cgroups: cgroup mountpoint does not exist: unknown in gitlab Kubernetes executor

 image: docker:19.03.13
variables:
  GIT_DEPTH: "0"
  DOCKER_HOST: tcp://localhost:2376  
  DOCKER_TLS_CERTDIR: "/certs"
  DOCKER_TLS_VERIFY: 1
  DOCKER_DRIVER: overlay2
  DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client"

I am running my runner on Kubernetes executor added docker dind in yaml file. when docker build command run it shows "cgroups: cgroup mountpoint does not exist: unknown".

like image 445
Santhosh Thomas Avatar asked Jun 02 '26 02:06

Santhosh Thomas


1 Answers

Just try a different docker version. If you have a fixed version like:

deployment:
  services:
    - docker:19.03.13-dind

Changing it to latest might be enough:

deployment:
  services:
    - docker:latest-dind

But if you had latest like:

deployment:
  services:
    - docker:latest-dind

means that the latest version is buggy, so moving to a previous version might work (this version worked for me!):

deployment:
  services:
    - docker:20.10.22-dind

Finally, mind that if your image is based on docker, like:

deployment:
  image: docker:19.03.13
  services:
    - docker:19.03.13-dind

you'd need to adjust it too

like image 119
Leopoldo Varela Avatar answered Jun 04 '26 01:06

Leopoldo Varela