I installed docker and docker compose on my vm
but when I ran the pipeline I got this error :
docker: 'compose' is not a docker command.
can any body help me?
I installed docker and docker compose on my vm
but when I ran the pipeline I got this error :
docker: 'compose' is not a docker command.
can any body help me?
which version of docker are you running? which version of docker compose did you install?
docker compose
is a docker compose 2 command
docker-compose
is a docker compose 1 command
I installed :
Docker Compose version v2.3.3
docker Version: 20.10.22
then its probably a user issue, where it works can you echo "$USER -- $HOME"
(your shell) and the same where it doesn’t work (inside jenkins pipeline)
looking at it Install the Compose plugin | Docker Documentation looks like if you want it global you should install compose to /usr/local/lib/docker/cli-plugins
Hello @careenginetech and welcome to this community
Is your jenkins
user member of the docker
group?