I'm following the example given here https://docs.dagger.io/integrations/gitlab
When running the pipeline I get the following error:
! start engine: failed to pull image: failed to run command: exec: "docker": executable file not found in $PATH
I understand what this error means, though I do not know how this should be approached in this scenario. I am presuming the example is correct.
I also tried this (which is my preferred setup if it can work since my dags are written in Go) but has the same issue:
.dagger:
image: golang:1.23.0-bookworm
services:
- docker:${DOCKER_VERSION}-dind
variables:
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_VERIFY: "1"
DOCKER_TLS_CERTDIR: "/certs"
DOCKER_CERT_PATH: "/certs/client"
DOCKER_DRIVER: overlay2
DOCKER_VERSION: "20.10.16"
before_script:
- curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=/usr/local/bin sh