Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (47.6k points)

How do I build a docker container in jenkins?

1 Answer

0 votes
by (106k points)

To build a docker container in Jenkins. Jenkins build it based on a Dockerfile which you can use Docker plugin for Jenkins to build the containers.

Detailed steps are as follows:-

  • Step 1: Launch Jenkins

  • Step 2: Configure the plugins and start building Docker images.

  • Step 3: Configure Docker agent

  • Step 4: Test the setup

If you want to learn both Jenkins and Docker then I would suggest you must take up the following DevOps training Course. I am also mentioning the video tutorial of Jenkins and Docker which you can watch to clear all your doubts. 

Docker video:

Jenkins video:

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...