0
respostas

unix:///var/run/docker.sock.

Professor ele dá o erro de ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

image: docker:latest
services:
  - docker:dind

before_script:
- docker info

stages:
  - build

maven-build:
  image: cimg/openjdk:11.0
  services:
    - docker:dind
  stage: build
  script: "mvn clean package"
  artifacts:
    paths:
      - target/*.jar