--- kind: pipeline type: docker name: docker-build steps: - name: docker build image: shnee/dind volumes: - name: dockersock path: /var/run commands: - sleep 5 # give docker enough time to start - docker build . -t shnee/dind:latest - make services: - name: docker image: shnee/dind privileged: true volumes: - name: dockersock path: /var/run volumes: - name: dockersock temp: {}