Most viewed questions in DevOps & Agile

+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,253 views
+3 votes
4 answers

Not able to connect worker nodes to the swarm. Connection refused error

This definitely has to be a firewall issue. ...READ MORE

Apr 26, 2019 in Docker by Vaidya
18,095 views
0 votes
1 answer

Dockerfile to install nginx on Ubuntu

Hey @Greg, this is a simple dockerfile ...READ MORE

Jul 23, 2019 in Docker by User101
18,037 views
0 votes
1 answer

iptables v1.6.0: can't initialize iptables -F: Permission denied (you must be root)

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

May 12, 2020 in Docker by MD
• 95,440 points
18,013 views
+1 vote
5 answers

My docker container has no internet

Try resetting all the parameters pkill docker iptables -t ...READ MORE

Jul 31, 2018 in Docker by Kalgi
• 52,360 points
17,951 views
0 votes
2 answers

Can Jenkins detect and build new tags from Git repository?

Yes, this can be done in 3 ...READ MORE

Jun 25, 2019 in DevOps Tools by Neel
• 3,020 points
17,841 views
+1 vote
4 answers

Can I set ulimit for containers in k8s?

You can either modify them via UserData ...READ MORE

May 7, 2019 in Kubernetes by Inayat
17,727 views
0 votes
1 answer

How to untrack and remove a deleted file and log when we check git status ?

Hi@Shashi, You can use the git clean command. ...READ MORE

Oct 29, 2020 in Git & GitHub by MD
• 95,440 points
17,627 views
0 votes
1 answer

error on branch master nothing to commit, working directory clean, when try to commit my changes.

Hi@akhtar,  If you already have a .git/ folder ...READ MORE

Apr 10, 2020 in Git & GitHub by MD
• 95,440 points
17,627 views
0 votes
1 answer

Failed to import the required Python library (Docker SDK for Python: docker (Python >= 2.7) or docker-py (Python 2.6))

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

Aug 7, 2020 in Ansible by MD
• 95,440 points
17,519 views
0 votes
2 answers

How to edit file after I shell to a docker container?

You can even install it using a ...READ MORE

Apr 23, 2019 in Docker by Ashish
17,505 views
0 votes
1 answer

ERROR! Attempting to decrypt but no vault secrets found

Hi@akhtar, As you are using a vault in ...READ MORE

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

How to enable SSH inside Docker container?

Hi@akhtar, To enable SSH inside Docker Container, you ...READ MORE

Jun 4, 2020 in Docker by MD
• 95,440 points
17,253 views
+1 vote
4 answers

Execute shell script file using kubernetes as a cron job

use /bin/sh instead of /bin/bash This solved it ...READ MORE

May 7, 2019 in Kubernetes by Sid
17,070 views
0 votes
1 answer

mkdir: cannot create directory '/var/lib/grafana/plugins': Permission denied

Hi@akhtar, You are getting this error because Grafana ...READ MORE

Sep 7, 2020 in Docker by MD
• 95,440 points
17,055 views
+2 votes
0 answers

The connection to the server localhost:8080 was refused

$ kubectl get svc The connection to the ...READ MORE

Aug 8, 2019 in Kubernetes by Lakshminarayanan
16,968 views
0 votes
3 answers

not able to connect to the GIT Repository through Git plugin in Jenkins

One of the possibility is that your ...READ MORE

Apr 22, 2019 in DevOps Tools by Ananya
16,938 views
0 votes
2 answers

Error saying "ImportError: No module named yaml"

actually this related python pckage in order ...READ MORE

Jul 18, 2020 in Ansible by shivanand
16,757 views
0 votes
1 answer

Ansible playbook to wget a file

Hey @Celia, one recommendation, try not using ...READ MORE

Jan 16, 2019 in Ansible by Vaishu
16,730 views
0 votes
1 answer

How to install HELM in Windows?

Hi@akhtar, You can follow the below-given steps to ...READ MORE

Jul 6, 2020 in Kubernetes by MD
• 95,440 points
16,608 views
0 votes
2 answers

Jenkins Pipeline: Build using parameters

First, as @sophie may mentioned it you should name ...READ MORE

Aug 8, 2019 in Jenkins by Sirajul
• 59,230 points
16,491 views
0 votes
2 answers

Kubernetes error: You must be logged in to the server (the server has asked for the client to provide credentials

You probably missed the --client-ca-file flag in ...READ MORE

May 4, 2019 in Kubernetes by Aysha
16,358 views
0 votes
3 answers

Error while setting up kubernetes

echo "1" > /proc/sys/net/bridge/bridge-nf-call-iptables READ MORE

May 16, 2019 in Kubernetes by sivashankar
16,307 views
+2 votes
1 answer

error: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

Hi@akhtar, When you try to connect your kubernetes ...READ MORE

May 19, 2020 in Kubernetes by MD
• 95,440 points
16,212 views
0 votes
1 answer

How to give Jenkins super user permission?

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

Feb 27, 2019 in DevOps & Agile by shubham
• 7,340 points
16,199 views
0 votes
1 answer

Job for docker.service failed because the control process exited with error code.

Hi@akhtar, Before starting your docker service check if ...READ MORE

Apr 14, 2020 in Docker by MD
• 95,440 points
16,110 views
+2 votes
5 answers

How to fix this error “Invalid command ProxyRequests” while setting up Jenkins?

The reason why you're getting this error ...READ MORE

May 6, 2019 in Jenkins by Vijay
16,073 views
+14 votes
5 answers

How do I run a cron job inside a docker container

If you can SSH into your server ...READ MORE

Jul 27, 2018 in DevOps & Agile by Kalgi
• 52,360 points
15,946 views
0 votes
1 answer

what are the different types of docker networking drivers ?

Docker’s networking subsystem is pluggable using drivers. ...READ MORE

Jul 5, 2019 in Docker by Sirajul
• 59,230 points
15,945 views
0 votes
3 answers

Error: docker command not found

If you're using Docker as an administrator, ...READ MORE

Apr 29, 2019 in Docker by Naina
15,869 views
0 votes
1 answer

"msg": "Failed to connect to the host via ssh: root@192.168.0.179: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).",

Hi@akhtar, You need to pass the username and ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,440 points
15,655 views
0 votes
1 answer

Error saying " mapping values are not allowed in this context" while executing an ansible playbook

Hey, @Nishit seems like you've made a ...READ MORE

Jan 21, 2019 in Ansible by Emily
15,466 views
0 votes
1 answer

How to ignore failed commands in Ansible?

Usually, if even one command fails to ...READ MORE

Feb 7, 2019 in Ansible by Patt
15,412 views
0 votes
1 answer

How to stash untracked files of the current working directory in Git?

Hi@akhtar, In order to stash untracked files, add ...READ MORE

Nov 20, 2020 in Git & GitHub by MD
• 95,440 points
15,307 views
0 votes
1 answer

Change Ansible Vault editor from vi to nano

By default, the editor used by the ...READ MORE

Mar 5, 2019 in Ansible by Yogesh
15,291 views
+1 vote
1 answer

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Hi@akhtar, It seems the docker service is not ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,440 points
15,228 views
0 votes
1 answer

fatal: could not read Username for 'https://github.com': No such device or address in jenkins.

Hi@akhtar, You need to give to the jenkins ...READ MORE

Apr 3, 2020 in Jenkins by MD
• 95,440 points
15,174 views
0 votes
1 answer

Error saying permission denied while running ansible playbook

Hey @Neha, add the following line to ...READ MORE

Feb 8, 2019 in Ansible by Amy
15,152 views
0 votes
1 answer

Is it possible to run an Ansible Playbook in python script?

Hey @Cerci, Of course its possible. You ...READ MORE

Jan 17, 2019 in Ansible by Nicolas
15,084 views
0 votes
5 answers

denied: requested access to the resource is denied : docker

You need to tag your image before ...READ MORE

Jul 27, 2018 in Docker by Kalgi
• 52,360 points
14,554 views
0 votes
1 answer

How to find the hidden files in the Git repository?

Hi@akhtar, To find the hidden files in the ...READ MORE

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

How to capture the output of a task in Ansible Playbook?

Hi@akhtar, Ansible registers module used to capture/store the ...READ MORE

Aug 2, 2020 in Ansible by MD
• 95,440 points
14,407 views
0 votes
1 answer

Link to the issue number on GitHub within a commit message.

Hi@akhtar, You just need to include #xxx in your commit message ...READ MORE

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

build context for docker image very large

The Docker client sends the entire "build ...READ MORE

Aug 1, 2018 in Docker by Kalgi
• 52,360 points
14,367 views
0 votes
1 answer

Error: there is no need to specify a resource type as a separate argument when passing arguments in resource/name form

Hi, You don't need to pass any argument ...READ MORE

Oct 6, 2020 in Kubernetes by MD
• 95,440 points
14,331 views
+2 votes
1 answer
0 votes
1 answer

No match for argument: ansible Error: Unable to find a match

Hi@akhtar, Ansible is not part of your RedHat ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,440 points
14,211 views
+1 vote
4 answers

Communication between multiple docker-compose projects

You just need to make sure that ...READ MORE

Jul 30, 2018 in Docker by Kalgi
• 52,360 points
14,206 views