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,673 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,874 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,463 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,992 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,278 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,724 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,307 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
147,113 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,116 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,218 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,621 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,729 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,437 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,925 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,940 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,303 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,989 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,831 views
0 votes
0 answers

What are some common issues with Terraform’s state, and how do you resolve them?

What are some common issues with Terraform’s ...READ MORE

9 hours ago in DevOps Tools by Anila
• 4,220 points
15 views
0 votes
0 answers

What are the best practices for using Terraform in a CI/CD pipeline?

What are the best practices for using ...READ MORE

8 hours ago in DevOps Tools by Anila
• 4,220 points
11 views
0 votes
0 answers

How can I secure sensitive data (e.g., secrets) in Terraform?

How can I secure sensitive data (e.g., ...READ MORE

10 hours ago in DevOps Tools by Anila
• 4,220 points
15 views
0 votes
0 answers

How does Terraform compare to other IaC tools like CloudFormation, ARM templates, or Pulumi?

How does Terraform compare to other IaC ...READ MORE

8 hours ago in DevOps Tools by Anila
• 4,220 points
10 views
0 votes
0 answers

What are Terraform modules, and how can they simplify infrastructure management?

What are Terraform modules, and how can ...READ MORE

10 hours ago in DevOps Tools by Anila
• 4,220 points
9 views
0 votes
1 answer

What is your strategy for minimizing resource usage in multi-cloud environments?

To reduce the amount of resources used ...READ MORE

11 hours ago in DevOps Tools by Gagana
• 5,810 points
41 views
0 votes
1 answer

How do you automate blue-green deployment for stateful services?

In order to automate blue-green deployment for ...READ MORE

11 hours ago in DevOps Tools by Gagana
• 5,810 points
39 views
0 votes
0 answers

What strategies do you use to prevent vendor lock-in when adopting cloud services for DevOps?

What strategies do you use to prevent ...READ MORE

3 days ago in DevOps Tools by Anila
• 4,220 points
23 views
0 votes
0 answers

How do you ensure effective logging and alerting in multi-cloud environments?

How do you ensure effective logging and ...READ MORE

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

How do you manage Terraform state files effectively in a team environment?

How do you manage Terraform state files ...READ MORE

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

How do you manage security risks when implementing third-party CI/CD tools?

How do you manage security risks when ...READ MORE

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

What techniques do you use to simplify managing complex dependencies for polyglot microservices?

What techniques do you use to simplify ...READ MORE

3 days ago in DevOps Tools by Anila
• 4,220 points
19 views
0 votes
1 answer

How do you implement role-based access control (RBAC) in Jenkins to secure pipelines?

To set up Jenkins with Role-Based Access ...READ MORE

3 days ago in DevOps Tools by Gagana
• 5,810 points
26 views
0 votes
0 answers

How do you test failover and disaster recovery processes in your DevOps workflows?

How do you test failover and disaster ...READ MORE

4 days ago in DevOps Tools by Anila
• 4,220 points
20 views
0 votes
0 answers

What practices do you follow to ensure observability in event-driven or serverless architectures?

What practices do you follow to ensure ...READ MORE

4 days ago in DevOps Tools by Anila
• 4,220 points
20 views
0 votes
1 answer

How do you ensure consistent artifact versions across environments in microservices deployments?

To guarantee that artifact versions in microservices ...READ MORE

3 days ago in DevOps Tools by Gagana
• 5,810 points
21 views
0 votes
0 answers

How do you integrate a distributed tracing solution into your DevOps workflows?

How do you integrate a distributed tracing ...READ MORE

4 days ago in DevOps Tools by Anila
• 4,220 points
18 views
0 votes
0 answers

What steps do you take to minimize downtime during critical production deployments?

What steps do you take to minimize ...READ MORE

4 days ago in DevOps Tools by Anila
• 4,220 points
17 views
0 votes
0 answers

How do you manage configuration changes in microservices without causing downtime?

How do you manage configuration changes in ...READ MORE

4 days ago in DevOps Tools by Anila
• 4,220 points
16 views
0 votes
1 answer

What is your approach to ensuring consistent package management in CI/CD across development teams?

For development teams to use CI/CD consistently, ...READ MORE

6 days ago in DevOps Tools by Gagana
• 5,810 points
40 views
0 votes
1 answer

How do you address and mitigate configuration inconsistencies across environments in Infrastructure as Code (IaC)?

Configuration inconsistency resolution calls for standardization with room for environment-specific variations. Techniques: Parameterized Configurations: Use variables in tools like Terraform, Ansible, or CloudFormation to ...READ MORE

3 days ago in DevOps Tools by Gagana
• 5,810 points
46 views
0 votes
0 answers

What is your approach to security scanning for open-source dependencies in DevOps?

What is your approach to security scanning ...READ MORE

5 days ago in DevOps Tools by Anila
• 4,220 points
23 views
0 votes
0 answers

How do you integrate feature toggles/flags within your CI/CD pipeline?

How do you integrate feature toggles/flags within ...READ MORE

5 days ago in DevOps Tools by Anila
• 4,220 points
21 views
0 votes
0 answers

How do you automate the configuration of secrets and credentials in Kubernetes?

How do you automate the configuration of ...READ MORE

5 days ago in DevOps Tools by Anila
• 4,220 points
19 views
0 votes
0 answers

How do you automate cloud cost allocation and reporting in multi-cloud strategies?

How do you automate cloud cost allocation ...READ MORE

5 days ago in DevOps Tools by Anila
• 4,220 points
19 views
0 votes
0 answers

What practices do you follow for container health checks and lifecycle management?

What practices do you follow for container ...READ MORE

5 days ago in DevOps Tools by Anila
• 4,220 points
17 views
0 votes
1 answer

How do you automate security audits of code repositories in DevOps?

Continuous compliance and proactive vulnerability identification are ...READ MORE

6 days ago in ELK Stack by Gagana
• 5,810 points
29 views
0 votes
1 answer

What tools and processes do you use to manage infrastructure state drift in Terraform?

Manage state drift in Terraform using proactive detection, mitigation, and ...READ MORE

3 days ago in DevOps Tools by Gagana
• 5,810 points
37 views
0 votes
1 answer

How do you manage long-running processes or cron jobs in Kubernetes?

To efficiently handle cron jobs or lengthy ...READ MORE

3 days ago in DevOps Tools by Gagana
• 5,810 points
32 views
0 votes
0 answers
0 votes
1 answer

How do you manage testing and version control of API integrations in a CI/CD pipeline?

In a CI/CD pipeline, to oversee the ...READ MORE

Nov 25 in DevOps Tools by Gagana
• 5,810 points
34 views
0 votes
0 answers

What methods do you use to optimize network performance for microservices communication?

What methods do you use to optimize ...READ MORE

6 days ago in DevOps Tools by Anila
• 4,220 points
30 views