简体   繁体   中英

Run Docker containers with Jenkins

I want to run a Docker container in a Jenkins build and I can´t do that. Is it possible? How can I do that?

Thank you.

Jenkins executes jobs which has commands. If you specify some docker commands in the job description, it should get executed. It might fail if you / the user jenkins is running as, is not permitted to execute those commands. Check that docker is in your path, check that the jenkins user is in the docker group (at least for debian based distribution).

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