Trending questions in DevOps & Agile

+15 votes
19 answers

How can I run a ‘docker exec’ command inside a docker container?

you can run any command in a ...READ MORE

Dec 10, 2018 in Docker by Pramiti
1,229,529 views
+5 votes
3 answers

Copying files from host to Docker container

Hi, You can use the docker cp command ...READ MORE

Dec 9, 2020 in Docker by MD
• 95,460 points
349,796 views
+4 votes
5 answers

How to run YML compose file?

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

May 7, 2019 in DevOps & Agile by Mithin
256,160 views
+5 votes
4 answers

Git push vs git push origin

In simple words git push command updates ...READ MORE

Apr 23, 2019 in Git & GitHub by Hiran
249,768 views
+3 votes
12 answers

How to run multiple commands in docker at once?

In order to run multiple commands in ...READ MORE

Jul 19, 2018 in Docker by Sophie may
• 10,620 points
250,183 views
+1 vote
1 answer

Error: error response from daemon get https //registry-1.docker.io/v2/ connection refused

Hi@akhtar, Sometimes it happens. I also faced this ...READ MORE

Aug 27, 2020 in Docker by MD
• 95,460 points

reshown Nov 22, 2023 by Soumya 226,227 views
+1 vote
2 answers

fatal: unable to access could not resolve host: GitHub

Hi@akhtar, This can be caused in incorrect proxy ...READ MORE

Apr 10, 2020 in Git & GitHub by MD
• 95,460 points
153,041 views
+1 vote
1 answer

How to install packages in a Docker container?

Hi@akhtar, To install packages in a docker container, ...READ MORE

Apr 15, 2020 in Docker by MD
• 95,460 points
146,894 views
0 votes
2 answers

Jenkins and Docker : Build a Docker image using an jenkins pipeline and push it into docker registry.

In the illustration below, i have created a ...READ MORE

Aug 26, 2019 in Jenkins by Sirajul
• 59,230 points
146,045 views
+2 votes
2 answers

what is the key difference between Declarative pipeline and scripted pipeliine

The key difference between Declarative pipeline and Scripted pipeline ...READ MORE

Aug 13, 2019 in Jenkins by Sirajul
• 59,230 points
123,150 views
+4 votes
7 answers

If conditional in docker file

First of all, create a build_internal.sh file ...READ MORE

May 29, 2018 in Docker by DareDev
• 6,890 points
123,442 views
+5 votes
3 answers

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

You can run the following code, its ...READ MORE

Jul 5, 2018 in Jenkins by Sophie may
• 10,620 points
119,619 views
+3 votes
2 answers

Is there a way to restrict permissions to a user per individual job in jenkins?

Yes, you can configure user permissions per ...READ MORE

May 28, 2019 in Jenkins by Sirajul
• 59,230 points

edited May 28, 2019 by Sirajul 112,353 views
+3 votes
4 answers

How do I execute multiple commands using docker-compose

It can be solve by using bash -c ...READ MORE

Sep 20, 2018 in Docker by shubham
• 7,340 points
110,869 views
+3 votes
12 answers

Set environment variables in Jenkins

You can try something like this stages { ...READ MORE

Dec 10, 2018 in Jenkins by Celia
108,857 views
+2 votes
3 answers

mvn not recognized as an internal or external command error

Setting the environment variables JAVA_HOME, MAVEN_HOME and  ...READ MORE

Jun 3, 2019 in DevOps Tools by Sirajul
• 59,230 points
95,147 views
+5 votes
2 answers

How to assign a groovy variable to a shell variable?

I have tried the following in my ...READ MORE

Dec 4, 2019 in Jenkins by Raveendiran
• 980 points
89,848 views
+1 vote
3 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

Jul 31, 2019 in Jenkins by Sirajul
• 59,230 points
78,724 views
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers

How do you auto-trigger Jenkins builds from GitHub/GitLab?

How do you auto-trigger Jenkins builds from ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
25 views
0 votes
0 answers

How would you configure Jenkins to deploy a Dockerized app?

How would you configure Jenkins to deploy ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
24 views
0 votes
0 answers

How do you set up parallel testing in a Jenkins pipeline?

How do you set up parallel testing ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
22 views
0 votes
0 answers

How do you configure Jenkins notifications for failed builds?

How do you configure Jenkins notifications for ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
21 views
0 votes
0 answers

How would you set up automated backups for a Kubernetes database? Any example scripts?

How would you set up automated backups ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
20 views
0 votes
0 answers

How would you migrate a legacy app to containers? Sample Dockerfile?

How would you migrate a legacy app ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
18 views
0 votes
0 answers

How would you troubleshoot slow Jenkins build times?

How would you troubleshoot slow Jenkins build ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
18 views
0 votes
0 answers

How do you configure CI/CD for a Node.js app with unit and integration tests?

How do you configure CI/CD for a ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
18 views
0 votes
0 answers

How would you design a Jenkins pipeline for multi-branch deployments?

How would you design a Jenkins pipeline ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
15 views
0 votes
0 answers

Best practices for handling secrets in Jenkins? Any examples?

Best practices for handling secrets in Jenkins? ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
13 views
0 votes
0 answers

How would you migrate a legacy app to containers? Sample Dockerfile?

How would you migrate a legacy app ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
12 views
0 votes
0 answers

How would you automate deployment and monitoring for a high-traffic Lambda app?

How would you automate deployment and monitoring ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
18 views
0 votes
0 answers

How do you securely manage environment variables across Dev, QA, and Prod?

How do you securely manage environment variables ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
18 views
0 votes
0 answers

How would you set up Prometheus and Grafana for microservices monitoring?

How would you set up Prometheus and ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
17 views
0 votes
0 answers

How would you troubleshoot a failing Python CI/CD pipeline?

How would you troubleshoot a failing Python ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
16 views
0 votes
0 answers

How would you test IaC changes to prevent breakage?

How would you test IaC changes to ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
15 views
0 votes
0 answers

How would you reduce Docker image size in production?

How would you reduce Docker image size ...READ MORE

3 days ago in DevOps Tools by Anila
• 3,070 points
13 views