Most viewed questions in DevOps & Agile

+1 vote
11 answers

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

I guess there’s no docker runtime in ...READ MORE

May 14 in Docker by Frank
98,796 views
0 votes
3 answers

Git push vs git push origin

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

Apr 23 in Git & GitHub by Hiran
42,027 views
+1 vote
10 answers

Set environment variables in Jenkins

You can use groovy job file: description('') steps { ...READ MORE

Dec 10, 2018 in Jenkins by Galelio
25,675 views
+1 vote
11 answers

How to run multiple commands in docker at once?

Try this: docker run image bash -c "cd ...READ MORE

Apr 17 in Docker by anonymous

edited Apr 17 by Kalgi 20,260 views
+2 votes
6 answers

If conditional in docker file

You can use the test command RUN test ...READ MORE

Dec 10, 2018 in Docker by Shushant
16,342 views
+1 vote
3 answers

How do I execute multiple commands using docker-compose

You can also use the depends_on option ...READ MORE

Apr 22 in Docker by Kavya
12,692 views
0 votes
6 answers

docker: executable file not found in $PATH

file not found in $PATH READ MORE

May 9 in Docker by anonymous
9,911 views
+1 vote
4 answers

How to run Jenkins jobs on multiple slaves with a single job configuration?

use multijob plugin READ MORE

Jan 3 in Jenkins by Ajit Jadhav
9,189 views
+5 votes
5 answers

Jenkins properties file

Follow these steps: 1. Install ‘EnvInject’ plug-in in the Jenkins ...READ MORE

Aug 2, 2018 in Jenkins by lina
• 8,110 points
8,292 views
0 votes
5 answers

What is the default Jenkins password?

Change the shell to /bin/bash instead of bin/false ...READ MORE

Apr 22 in Jenkins by Vinod
7,660 views
+4 votes
7 answers

How to set the pipeline name and description for a Jenkinsfile?

You can rename pipeline jobs in jenkins ...READ MORE

Oct 11, 2018 in Jenkins by Hannah
• 15,620 points
7,538 views
+2 votes
3 answers

Permission denied error while running a simple job in Jenkins

Hey @Hannah, try changing the permissions using ...READ MORE

Oct 25, 2018 in Jenkins by krishti
7,348 views
+4 votes
4 answers

perform Git checkout using Groovy script

To do git commit: def getGitCommit() { ...READ MORE

Dec 6, 2018 in DevOps Tools by Vaidya
7,292 views
+2 votes
6 answers

copy directories in docker container excluding any one directory

One of the way could be copy ...READ MORE

Dec 10, 2018 in Docker by Prateek
7,191 views
+2 votes
5 answers

stash/unstash to transfer data in Jenkins from a build container to the other node.

Since the container gets destroyed once the ...READ MORE

Dec 20, 2018 in Jenkins by anonymous
7,082 views
+1 vote
4 answers

How to run YML compose file?

To run and open .yml files you ...READ MORE

Sep 7, 2018 in DevOps & Agile by Tyrion anex
• 8,270 points
7,007 views
0 votes
1 answer

How to copy directory and sub dirs's and files from source to remote using ansible playbook

Hey @Nishant, you can use the copy ...READ MORE

Apr 3 in Ansible by Kalgi
• 41,760 points
6,867 views
+3 votes
3 answers

local docker image on minikube

Try something like this: # Start minikube minikube start # ...READ MORE

Aug 29, 2018 in Kubernetes by Nilesh
• 6,880 points
6,481 views
+1 vote
4 answers

Kubernetes cluster pod status EVICTED

I learned this the hard way, but ...READ MORE

Jan 22 in Kubernetes by Lyndon
6,249 views
0 votes
5 answers

How to resolve this error “Jenkins Host key verification failed”?

HI Mam, Please check the following solution:: 1. Switch ...READ MORE

May 3 in Jenkins by anonymous
6,124 views
0 votes
2 answers

VSCode “please clean your repository working tree before checkout”

One of the ways is to stash ...READ MORE

Apr 22 in Git & GitHub by Nikhil
5,987 views
0 votes
2 answers

Docker: unable to prepare context: unable to evaluate symlinks in Dockerfile path: GetFileAttributesEx

Very cliche, but check if the Dockerfile ...READ MORE

Apr 22 in Docker by Umer
5,878 views
0 votes
1 answer

Difference between kubectl apply and kubectl create?

These are two very different approaches. kubectl ...READ MORE

Sep 10, 2018 in Kubernetes by ajs3033
• 7,280 points
5,830 views
0 votes
3 answers

Using multiple commands in a kubernetes yaml file

Try something like this: containers: - name: ...READ MORE

Apr 23 in Kubernetes by lyza
5,697 views
0 votes
3 answers

I'm trying to run docker with Jenkins pipeline but I'm facing this Jenkins pipeline error and a socket.io error.

This happens when the Jenkins user is ...READ MORE

Jun 26, 2018 in Docker by Sophie may
• 9,850 points
5,691 views
0 votes
2 answers

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

If you are talking about executing another ...READ MORE

Jul 31 in Jenkins by Sirajul
• 31,180 points
5,459 views
0 votes
4 answers
+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
5,063 views
+7 votes
4 answers

How are ClusterIP, NodePort and LoadBalancer different from each other?

ClusterIP ClusterIP accesses the services through proxy. ClusterIP ...READ MORE

Sep 10, 2018 in Kubernetes by Nilesh
• 6,880 points
5,059 views
+1 vote
4 answers

Is accessing kubernetes dashboard remotely possible?

Kubernetes API server is exposed and accessible ...READ MORE

Apr 26 in Kubernetes by Rick
4,985 views
0 votes
2 answers

Error saying "no endpoints available for service \"kubernetes-dashboard\" while getting the dashboard up

Not able to access dashboard it says:  { ...READ MORE

Jan 10 in Kubernetes by vishal
4,927 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 in Kubernetes by Vishaka
4,890 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,810 points
4,844 views
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

Oct 16, 2018 in Docker by lina
• 8,110 points

edited Oct 16, 2018 by lina 4,840 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 22 in Jenkins by Vimal
4,774 views
0 votes
5 answers

Error saying "Unable to connect to the server: x509: certificate signed by unknown authority"

export KUBECONFIG=/etc/kubernetes/admin.conf READ MORE

Jul 26 in Kubernetes by aneesh ansari
4,726 views
+2 votes
6 answers

Jenkins unable to run jobs (pending - waiting for next executor)

Increase the number of executors. I had ...READ MORE

Apr 24 in Jenkins by Maya
4,610 views
+1 vote
5 answers

Unable to login to Jenkins even if I enter valid credentials.

Disable security by editing these two classes ...READ MORE

Apr 26 in Jenkins by Vedant
4,584 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 in DevOps Tools by Ananya
4,563 views
0 votes
4 answers

"Layer already exists " when trying to push an image

I had a similar error. I hadn't ...READ MORE

Apr 23 in Kubernetes by Kalyan
4,486 views
+3 votes
3 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 in Docker by Vaidya
4,314 views
+1 vote
8 answers

How can I implement process.env in Angular 5 environment?

Users do not have access to process.env ...READ MORE

Apr 3, 2018 in DevOps & Agile by DareDev
• 6,810 points
4,274 views
0 votes
1 answer

Error: ‘Jenkins pipeline: No such DSL method'

This is a simple mistake, just remove ...READ MORE

Aug 17, 2018 in Jenkins by Sophie may
• 9,850 points
4,203 views
+1 vote
3 answers

How do I check and export sonarqube analysis reports in embedded db?

Browse to sonarqube web instance to access ...READ MORE

Jul 2, 2018 in DevOps Tools by DareDev
• 6,810 points
4,164 views
0 votes
2 answers

Running a cron job in a docker conratiner

Let’s create a new file called "crontab" ...READ MORE

Aug 7, 2018 in DevOps & Agile by Kalgi
• 41,760 points
4,131 views
+1 vote
4 answers

error cloning remote repo 'origin'

ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Could ...READ MORE

Jun 3 in Git & GitHub by Sirajul
• 31,180 points
3,960 views
0 votes
2 answers

kubernetes service external ip pending

If you are not using GCE or ...READ MORE

Aug 31, 2018 in Kubernetes by Nilesh
• 6,880 points
3,953 views
0 votes
2 answers

ansible-command not found

Use some other variable instead of PATH. READ MORE

Apr 23 in Ansible by Vismaya
3,863 views
+1 vote
4 answers

Pass variable to ansible playbook through command line

ansible-playbook test.yml --extra-vars "arg1=${var1} arg2=${var2}" Use is like ...READ MORE

May 7 in Ansible by Bobin
3,794 views
+2 votes
4 answers