When I try to run my gitlab-ci.yml
, I get the following error:
/bin/bash: line 73: docker: command not found
On my server the docker
command works as root and gitlab is also executing as root.
What could be the problem here?
Here is my .yml
file:
stages:
- deploy
- cleanup
before_script:
- whoami
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" "$CI_REGISTRY"