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".
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With