GitLab CI gitlab-runer with docker executor “usr/bin/bash: line 149: docker: command not found”

Rather simple fix for this, need to make sure the CI job is using an image that contains the docker cli executable. Edit your .gitlab-ci.yml and make sure you have:

image: docker:latest

From this post.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.