简体   繁体   中英

Jenkins build an image for Docker?

I'm a beginner with Jenkins CI integration with Docker. My virtual machine tcp://192.168.99.100:2376

I created an image "personluz" with my SVN source code and the configuration like this image

image config 配置

But the result is: error 错误信息

FATAL: Cannot run program "docker": error=2, No such file or directory

Could anyone have some idea? Thanks

First, the tag highlighted in the first picture is not the one for the personluz image (it is one of a dangling image )

The tag for personluz is b7782bf4cf30 .

Second, a Cannot run program "docker": error=2 means that, in the context of the Jenkins slave executing the job, docker is not found in the Jenkins user $PATH . Make sure it is properly installed for that Jenkins user.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM