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,240,162 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
354,119 views
+1 vote
1 answer

Error response from daemon: get "https://registry-1.docker.io/v2/": unauthorized: incorrect username or password

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 238,994 views
+4 votes
5 answers

How to run docker compose YML file?

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

May 7, 2019 in DevOps & Agile by Mithin
262,766 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
256,048 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
256,127 views
+1 vote
2 answers

Could not resolve host: github.com

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

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

How to install package in docker container?

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

Apr 15, 2020 in Docker by MD
• 95,460 points
150,836 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,190 points
150,228 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,190 points
126,611 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
129,910 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
124,372 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,190 points
104,086 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,190 points

edited May 28, 2019 by Sirajul 115,710 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
114,496 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
115,106 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
95,901 views
0 votes
1 answer

Error starting daemon: pid file found, ensure docker is not running or delete /var/snap/docker/179/run/docker.pid

sudo rm -rf /var/run/docker.pid READ MORE

Dec 22, 2022 in Docker by Marshall

edited Mar 5, 2025 73,511 views
+2 votes
3 answers

! [rejected] master -> master (fetch first) error: failed to push some refs to 'git@github.com:abc70/new.git'

git push origin master --force I met the ...READ MORE

Apr 29, 2020 in Git & GitHub by anonymous
77,988 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,190 points
82,710 views
0 votes
1 answer

How can I compare two commits directly in the Azure DevOps web UI?

Follow these steps to compare two commits ...READ MORE

Dec 19, 2024 in DevOps Tools by Gagana
• 10,070 points
2,791 views
0 votes
1 answer

What is the best practice for renaming a branch in Azure DevOps while ensuring minimal disruption?

The Best Methods for Azure DevOps Branch ...READ MORE

Dec 5, 2024 in DevOps Tools by Gagana
• 10,070 points
2,835 views
0 votes
1 answer

Why does Git keep asking for my password when using Azure DevOps, and how can I fix it?

Reason: When authentication isn't set up correctly or ...READ MORE

Dec 6, 2024 in DevOps Tools by Gagana
• 10,070 points
2,545 views
0 votes
1 answer

What does the 'AddPackage' permission error mean in Azure DevOps, and how can it be resolved?

In Azure DevOps, the 'AddPackage' permission issue ...READ MORE

Dec 19, 2024 in DevOps Tools by Gagana
• 10,070 points
2,146 views
0 votes
1 answer

Is there a tool or method to validate Azure DevOps YAML pipelines locally before committing?

Yes, you can use tools like the ...READ MORE

Dec 6, 2024 in DevOps Tools by Gagana
• 10,070 points
2,130 views
0 votes
0 answers

What are the steps to migrate a monorepo into multiple smaller repositories?

What are the steps to migrate a ...READ MORE

Dec 12, 2024 in DevOps Tools by Anila
• 5,070 points
1,619 views
0 votes
1 answer

How can I update pipelines and pull requests to reflect a renamed branch in Azure DevOps?

Refresh Pipelines: Navigate to Azure DevOps Pipelines. In the ...READ MORE

Dec 19, 2024 in DevOps Tools by Gagana
• 10,070 points
1,554 views
0 votes
1 answer

How can I check and update user permissions in Azure DevOps to avoid permission-related errors?

Role-based access control (RBAC) is the model ...READ MORE

Dec 5, 2024 in DevOps Tools by Gagana
• 10,070 points
1,747 views
0 votes
0 answers

What are the common pitfalls in migrating DevOps services across cloud providers, and how can they be avoided?

What are the common pitfalls in migrating ...READ MORE

Dec 12, 2024 in DevOps Tools by Anila
• 5,070 points
1,443 views
0 votes
0 answers

How can you use orchestration tools (like Ansible or Chef) to facilitate DevOps service migration?

How can you use orchestration tools (like ...READ MORE

Dec 12, 2024 in DevOps Tools by Anila
• 5,070 points
1,323 views
0 votes
0 answers

What are the challenges of moving container orchestration services from Docker Swarm to Kubernetes?

What are the challenges of moving container ...READ MORE

Dec 12, 2024 in DevOps Tools by Anila
• 5,070 points
1,267 views
0 votes
1 answer

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

Terraform modules are modular, reusable parts of ...READ MORE

Dec 19, 2024 in DevOps Tools by Gagana
• 10,070 points
1,280 views
0 votes
1 answer

What are Ansible playbooks, and how do they simplify configuration management?

Ansible playbooks define a set of activities ...READ MORE

Dec 19, 2024 in DevOps Tools by Gagana
• 10,070 points
1,253 views
0 votes
1 answer

How do you manage multi-cloud environments with Terraform?

Terraform's provider-based design may be used to ...READ MORE

Dec 19, 2024 in DevOps Tools by Gagana
• 10,070 points
1,236 views
0 votes
0 answers

What considerations should be made when migrating VCS repositories across platforms (e.g., GitHub to GitLab)?

What considerations should be made when migrating ...READ MORE

Dec 12, 2024 in DevOps Tools by Anila
• 5,070 points
1,171 views
0 votes
1 answer

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

To protect private information in Terraform: Employ Sensitive ...READ MORE

Dec 19, 2024 in DevOps Tools by Gagana
• 10,070 points
1,230 views
0 votes
1 answer

How do you choose between a managed orchestration service (e.g., AWS ECS, Azure AKS) and self-hosted orchestration?

Managed Services: If you value ease of ...READ MORE

Dec 12, 2024 in DevOps Tools by Gagana
• 10,070 points

reshown Mar 11, 2025 by Neelam 1,131 views
0 votes
1 answer

Are there any limitations to comparing commits in Azure DevOps, and how can they be addressed?

Indeed, there are certain restrictions on comparing ...READ MORE

Dec 6, 2024 in DevOps Tools by Gagana
• 10,070 points
1,331 views
0 votes
0 answers

What is the difference between dotnet build and dotnet publish in Azure DevOps pipelines?

What is the difference between dotnet build ...READ MORE

Dec 6, 2024 in DevOps Tools by Anila
• 5,070 points
1,306 views
0 votes
0 answers

How do you integrate a VCS with tools like Jira, Jenkins, or Slack?

How do you integrate a VCS with ...READ MORE

Dec 11, 2024 in DevOps Tools by Anila
• 5,070 points
981 views
0 votes
1 answer

How do you handle rollbacks in Jenkins pipelines in case of failed deployments? Could you share a Jenkinsfile with rollback logic for a safer deployment?

To manage rollbacks in Jenkins pipelines for deployments that failed, logic should be applied to ...READ MORE

Nov 25, 2024 in DevOps Tools by Gagana
• 10,070 points
1,925 views
0 votes
1 answer

Are there tools or extensions that help in debugging YAML pipelines locally before deploying to Azure DevOps?

Yes, before deploying to Azure DevOps, YAML ...READ MORE

Dec 5, 2024 in DevOps Tools by Gagana
• 10,070 points
1,251 views
0 votes
0 answers

How can I configure Azure DevOps pipelines to build projects with Git submodules?

How can I configure Azure DevOps pipelines ...READ MORE

Dec 9, 2024 in DevOps Tools by Anila
• 5,070 points
1,029 views
0 votes
0 answers

What are the challenges of migrating from SVN or Mercurial to Git, and how can they be addressed?

What are the challenges of migrating from ...READ MORE

Dec 11, 2024 in DevOps Tools by Anila
• 5,070 points
841 views
0 votes
0 answers

How can you handle failures gracefully in orchestration workflows to ensure system reliability?

How can you handle failures gracefully in ...READ MORE

Dec 11, 2024 in DevOps Tools by Anila
• 5,070 points
825 views
0 votes
0 answers

How can I use the Azure DevOps Extension for Azure CLI in Azure DevOps Server environments?

How can I use the Azure DevOps ...READ MORE

Dec 6, 2024 in DevOps Tools by Anila
• 5,070 points
961 views
0 votes
0 answers

What are the challenges with using Git submodules in Azure DevOps, and how can they be mitigated?

What are the challenges with using Git ...READ MORE

Dec 10, 2024 in DevOps Tools by Anila
• 5,070 points
841 views
0 votes
0 answers

What strategies can help synchronize configuration changes across distributed systems without downtime?

What strategies can help synchronize configuration changes ...READ MORE

Dec 10, 2024 in DevOps Tools by Anila
• 5,070 points
838 views
0 votes
1 answer

How can I configure Docker to use a specific number of CPU cores for a container?

In your docker run command, set a specific number of CPU cores to use directly by the container. This helps in controlling resources, particularly with shared environments or using multiple ...READ MORE

Nov 18, 2024 in DevOps Tools by Gagana
• 10,070 points
2,003 views
0 votes
0 answers

What is the best way to migrate multiple Azure DevOps repositories into a single repository?

What is the best way to migrate ...READ MORE

Dec 9, 2024 in DevOps Tools by Anila
• 5,070 points
776 views