Most viewed questions in DevOps & Agile

+2 votes
2 answers

COPY failed: stat /var/lib/docker/tmp/docker-builder/root/page: no such file or directory

I have faced the same error in ...READ MORE

Dec 3, 2020 in Docker by Tabish Ali
22,850 views
0 votes
1 answer

How to turn gathering facts task off in Ansible?

Hi@akhtar, You can use gather_facts: no keyword in your playbook. ...READ MORE

Aug 10, 2020 in Ansible by MD
• 95,440 points
22,780 views
+1 vote
5 answers

Set containers timezones by using docker compose.

version "2" services: serviceA: ...READ MORE

Jul 9, 2018 in Docker by Atul
• 10,240 points
22,709 views
0 votes
5 answers

Error: Docker not found when building docker image on Jenkins pipeline

Check if you have Docker installed and ...READ MORE

Apr 23, 2019 in Jenkins by Vimal
22,581 views
0 votes
1 answer

How to see any module details in Ansible from the command line?

Hi@akhtar, Ansible has a very attractive command named ...READ MORE

Aug 11, 2020 in Ansible by MD
• 95,440 points
22,545 views
0 votes
1 answer

Install git using Ansible

Installing git using ansible is pretty simple. ...READ MORE

Mar 15, 2019 in Ansible by Haider
22,508 views
0 votes
1 answer

How to cleanup Jenkins workspace?

Hi@akhtar, There is a way to clean up ...READ MORE

Oct 24, 2020 in Jenkins by MD
• 95,440 points
22,327 views
0 votes
3 answers

How to get the Maven Version of a project in Jenkins?

Here is a snippet from our Jenkins ...READ MORE

Oct 4, 2019 in Jenkins by Petr Doležal
21,950 views
+1 vote
1 answer

Failed to connect to repository :Error performing git command: git ls-remote -h https://github.com/jenikis_hook.git HEAD

Hi@akhtar, There may be several reasons behind this ...READ MORE

May 4, 2020 in Jenkins by MD
• 95,440 points
21,902 views
+1 vote
2 answers

[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

Hey @Sitara,   I just found it is because ...READ MORE

Jan 22, 2019 in Ansible by Naina
21,421 views
+1 vote
4 answers

COPY is not working in Docker

I had the exact same issue. I ...READ MORE

May 6, 2019 in Docker by Emilia
21,346 views
0 votes
1 answer

How to uninstall Kubernetes completely?

Hi Akhtar, You can follow the below steps ...READ MORE

Oct 6, 2020 in Kubernetes by MD
• 95,440 points
21,275 views
0 votes
3 answers

difference between git remote and git clone

HI.... GIT REMOTE add just creates an entry in ...READ MORE

Jul 11, 2020 in Git & GitHub by anonymous
21,245 views
+1 vote
2 answers

What is the difference between ansible playbook and roles?

Hi, Roles: Roles containing certain vars_files, tasks, and handlers ...READ MORE

Jan 21, 2020 in Ansible by vivek
• 530 points
20,972 views
0 votes
1 answer

fatal: unable to access 'https://github.com/user/maven-productweb.git/': Failed to connect to github.com port 443: No route to host

Hi@akhtar, You may get this error if your ...READ MORE

Jun 3, 2020 in Git & GitHub by MD
• 95,440 points
20,691 views
0 votes
1 answer

Kubernetes on Docker for Windows: No connection could be made because the target machine actively refused it.

The issue is with docker for windows ...READ MORE

Nov 23, 2018 in DevOps & Agile by Tyrion anex
• 8,700 points
20,572 views
+1 vote
1 answer

javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

Hi@akhtar, I also faced the same issue and I ...READ MORE

May 12, 2020 in Jenkins by MD
• 95,440 points
20,557 views
–1 vote
1 answer

Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.

Hi@akhtar, The secret very much depends on swarm mode ...READ MORE

Aug 17, 2020 in Docker by MD
• 95,440 points
20,555 views
0 votes
5 answers

Kubernets cluster pod stays in pending state

I had the same issue. I spent ...READ MORE

May 3, 2019 in Kubernetes by Kashish
20,458 views
+1 vote
3 answers

"No such file pom.xml" error in Jenkins

Can you please che ck the location ...READ MORE

May 16, 2019 in Jenkins by Samir
20,389 views
0 votes
1 answer

How to give a file execute mode permissions in Git?

You can easily do this in one ...READ MORE

Aug 7, 2018 in Git & GitHub by Sophie may
• 10,610 points
20,380 views
0 votes
1 answer

Error saying "error: dpkg frontend is locked by another process"

Hey! First, find out the id of the ...READ MORE

Apr 15, 2019 in Jenkins by Vedant
20,151 views
0 votes
1 answer

fatal: could not create work tree dir 'C:/Program Files/Git/data': Permission denied

Hi@akhtar, You may get this error if your ...READ MORE

Jun 14, 2020 in Git & GitHub by MD
• 95,440 points
20,139 views
+1 vote
5 answers

"Unable to locate package" error while installing kubelet, kubeadm, kubectl

Work around 1 :  log in as ...READ MORE

Oct 25, 2018 in Kubernetes by Lakshmi Narayana ( L N )
20,131 views
0 votes
2 answers

How to disable or reset security settings in Jenkins?

One other way would be to manually ...READ MORE

Aug 2, 2019 in Jenkins by Sirajul
• 59,230 points
20,116 views
0 votes
2 answers

How to open docker containers file system?

Adding on to @DareDev's answer there's one ...READ MORE

Aug 5, 2019 in Docker by Sirajul
• 59,230 points
20,072 views
0 votes
2 answers

What is the command to restart jenkins through command line in linux?

On Ubuntu or Debian, when installed through apt-get/dpkg: $ ...READ MORE

Aug 1, 2019 in Jenkins by Sirajul
• 59,230 points
20,027 views
0 votes
1 answer

Error: config Map volume mount read-only file system error

ConfigMaps are always mounted read-only. If you need ...READ MORE

Jul 18, 2019 in Kubernetes by Sirajul
• 59,230 points
19,855 views
0 votes
1 answer

How to fix unhealthy Docker Container? what could be the reason behind unhealthy status?

Restarting of unhealthy container feature was in ...READ MORE

Oct 30, 2020 in Docker by Rajendra
19,777 views
+2 votes
5 answers

Restarting nodes on kubernetes as the node status shows unknown

I had a similar issue, but mine ...READ MORE

Oct 23, 2018 in Kubernetes by Zans
19,747 views
0 votes
2 answers

Add images to README.md on GitHub

This is the easiest way to go ...READ MORE

Aug 21, 2018 in Git & GitHub by Nilesh
• 7,050 points
19,679 views
+1 vote
3 answers

Error message “Failed to connect to the host via ssh” while running ping command on host machines using Ansible

I hadn't created the ssh connection between ...READ MORE

Apr 23, 2019 in Ansible by Lavanya
19,668 views
0 votes
1 answer

How can I install systemctl tool in Docker container?

Hi@akhtar, In docker container if you want to ...READ MORE

Feb 5, 2020 in Docker by MD
• 95,440 points
19,512 views
0 votes
1 answer

java.lang.RuntimeException: can not run elasticsearch as root

Hi@akhtar, ElasticSearch will not require root privilege to ...READ MORE

Jun 19, 2020 in ELK Stack by MD
• 95,440 points
19,400 views
+1 vote
1 answer

master -> master (non-fast-forward) error: failed to push some refs to 'git@github.com:abc70/new.git'

Hi@akhtar, To update your local repo to GitHub ...READ MORE

Feb 14, 2020 in Git & GitHub by MD
• 95,440 points
19,383 views
0 votes
1 answer

How to run firefox inside docker container?

Hi@akhtar, Generally, if you run firefox inside docker ...READ MORE

Apr 16, 2020 in Docker by MD
• 95,440 points
19,293 views
0 votes
2 answers

Using a local image to create a pod in K8s

I'm not sure but you can try ...READ MORE

Apr 29, 2019 in Kubernetes by Vishaka
19,277 views
0 votes
1 answer

How to move/rename a file using an Ansible task on a remote system?

Hi@akhtar, You can use the command module to ...READ MORE

Sep 17, 2020 in Ansible by MD
• 95,440 points
19,255 views
0 votes
1 answer
0 votes
1 answer

Error:Failed to start redis.service Unit redis-server.service is masked

Hello, If redis.service file is missed in directory path /etc/systemd/system/redis.service so we ...READ MORE

May 18, 2020 in Docker by Niroj
• 82,880 points
18,792 views
+1 vote
4 answers

GIT plugin in jenkins not able to connect to GIT repository

This looks like a git configuration issue, ...READ MORE

Oct 25, 2018 in Git & GitHub by Alia
18,782 views
0 votes
1 answer

How to increase no of executors in Jenkins?

Hi@akhtar, By default Jenkins has 2 executors. But ...READ MORE

May 13, 2020 in Jenkins by MD
• 95,440 points
18,418 views
0 votes
1 answer

What is pod affinity and node affinity?

Node Affinity ensures that pods are hosted ...READ MORE

Jul 17, 2019 in Kubernetes by Sirajul
• 59,230 points
18,346 views
+1 vote
1 answer
0 votes
1 answer

NB: JAVA_HOME should point to a JDK not a JRE The JAVA_HOME environment variable is not defined correctly

Hi@akhtar, You may get this error if you ...READ MORE

Jun 4, 2020 in DevOps & Agile by MD
• 95,440 points
18,248 views
0 votes
1 answer

ansible playbook: using multiple variables in loops

Use an indexed hostname, and then define ...READ MORE

Jul 16, 2018 in Ansible by DareDev
• 6,890 points
18,198 views
0 votes
1 answer

Error: git pull fails “unable to resolve reference” “unable to update local ref”

This happens when there are unnecessary files ...READ MORE

Jul 26, 2018 in Git & GitHub by Sophie may
• 10,610 points
18,182 views
+1 vote
1 answer

how to install jenkins and how to run pom.xml through jenkins

The complete process to install Jenkins can be ...READ MORE

Feb 12, 2019 in Jenkins by Kalgi
• 52,360 points
18,144 views
0 votes
1 answer

Please: Commit your changes or stash them before you can merge in Git.

Hi@akhtar, You can't merge with local modifications. Git ...READ MORE

Jan 4, 2021 in Git & GitHub by MD
• 95,440 points
18,098 views
0 votes
1 answer

JNLP agent port is disabled and agents cannot connect this way. Go to security configuration screen and change it.

Hi@MD, By default JNLP agent port is disabled ...READ MORE

May 29, 2020 in Jenkins by akhtar
• 38,230 points
18,097 views