I have a jenkins pipeline script which creates the Docker image and deploys it to the docker hub. I have installed the docker plugin but it complains about "docker command not found". I am not sure if I need to install docker in the same machine or something else need to happen?
相关问题
- Docker task in Azure devops won't accept "$(pw
- Unable to run mariadb when mount volume
- Unspecified error (0x80004005) while running a Doc
- Jenkins - cmd is not recognized
- What would prevent code running in a Docker contai
Yes you have to install docker on the slave machine which is running that pipeline script of docker plugin. I would suggest adding a label
docker
to the slave that has docker installed and then use the pipeline script as: