Gitlab CI - docker: command not found

后端 未结 3 1550
太阳男子
太阳男子 2021-01-11 09:23

I am trying to build my docker image within the gitlab ci pipeline.

However it is not able to find the docker command.

/bin/bash: line 69: doc

3条回答
  •  逝去的感伤
    2021-01-11 10:03

    you need to choose an image including docker binaries

    image: gitlab/dind
    
    services:
      - docker:dind
    

提交回复
热议问题