how to deploy docker images to deploy servers using jenkinsfile

0 votes
how to deploy docker images to deploy servers using jenkinsfile. and where we need pass our deployment servers.
Sep 1, 2020 in DevOps & Agile by anonymous
• 120 points
228 views

1 answer to this question.

0 votes

Hi,

You can do this in multiple ways. You can use plugins, script files. But the simple way is to use the command shell in Jenkins. You have already configured Jenkins and docker in your system. Now to launch any server just use the docker command in Jenkins shell.

answered Sep 1, 2020 by MD
• 95,320 points

Related Questions In DevOps & Agile

0 votes
2 answers

How to build docker images using VS2017?

Open Visual Studio and create a new project. Select ASP.Net Core Web ...READ MORE

answered Aug 25, 2020 in DevOps & Agile by Pistle
• 1,000 points
237 views
0 votes
1 answer

How to restart docker for windows using Powershell?

Try this: $processes = Get-Process "*docker for windows*" if ...READ MORE

answered Oct 23, 2018 in DevOps & Agile by Tyrion anex
• 8,690 points
3,514 views
0 votes
1 answer

How to delete multiple docker images at once?

Here is what you can try. There is ...READ MORE

answered Nov 21, 2018 in DevOps & Agile by Shubham
• 1,000 points
1,531 views
0 votes
1 answer
+2 votes
2 answers

how to set different provisioning profiles for different targets using Xcode Build

For multiple targets, each task has to ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by ajs3033
• 7,280 points

edited Oct 16, 2018 by Kalgi 2,357 views
+1 vote
2 answers

How do I run Apache server from Docker without mapping to a location?

If you're seeing a 500 error, that's ...READ MORE

answered Oct 18, 2018 in DevOps & Agile by lina
• 8,220 points
1,140 views
0 votes
1 answer

How to set up a VM with KVM/qemu without VitualBox using Vagrant

Start the vagrant box using: vagrant up --provider=kvm But ...READ MORE

answered Apr 11, 2018 in DevOps & Agile by ajs3033
• 7,280 points
1,032 views
0 votes
1 answer

Is it possible to to create IIS Site and application Pool using Web Deploy

You can try and use the ServerManager ...READ MORE

answered Apr 20, 2018 in DevOps & Agile by ajs3033
• 7,280 points
933 views
+2 votes
1 answer

Error: You might need to start Docker for Windows. How do i start the daemon?

Hi, If you are running containers with Docker, ...READ MORE

answered May 19, 2020 in DevOps & Agile by MD
• 95,320 points
5,918 views
+3 votes
5 answers

How to run YML compose file?

You can run the following command to ...READ MORE

answered May 7, 2019 in DevOps & Agile by Mithin
103,084 views