Most viewed questions in DevOps & Agile

+2 votes
12 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
326,711 views
0 votes
3 answers

Git push vs git push origin

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

Apr 23, 2019 in Git & GitHub by Hiran
97,084 views
0 votes
1 answer

Copying files from host to Docker container

For copying the files from the host ...READ MORE

Jul 18, 2018 in Docker by sunshine
• 1,260 points
71,288 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, 2019 in Docker by anonymous

edited Apr 17, 2019 by Kalgi 65,279 views
+1 vote
10 answers

Set environment variables in Jenkins

To add to @Omkar's answer, I would ...READ MORE

Dec 10, 2018 in Jenkins by Zoo
54,730 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
• 53,110 points
45,342 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
40,219 views
+1 vote
4 answers

How to run YML compose file?

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

May 6, 2019 in DevOps & Agile by Mithin
36,543 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, 2019 in Docker by Kavya
35,878 views
+1 vote
1 answer

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
• 53,110 points
29,472 views
0 votes
6 answers

docker: executable file not found in $PATH

file not found in $PATH READ MORE

May 9, 2019 in Docker by anonymous
21,408 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, 2019 in Jenkins by Ajit Jadhav
19,497 views
+2 votes
2 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
• 9,940 points
19,343 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, 2019 in Jenkins by Vinod
19,105 views
+1 vote
1 answer

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
• 53,110 points

edited May 28, 2019 by Sirajul 18,885 views
+1 vote
4 answers

Kubernetes cluster pod status EVICTED

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

Jan 22, 2019 in Kubernetes by Lyndon
17,554 views
+1 vote
5 answers

Is accessing kubernetes dashboard remotely possible?

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

Apr 26, 2019 in Kubernetes by Rick
16,958 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, 2019 in Git & GitHub by Nikhil
16,876 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
16,677 views
+3 votes
1 answer

How to assign a groovy variable to a shell variable?

I have tried the following in my ...READ MORE

Dec 3, 2019 in Jenkins by Raveendiran
• 880 points
16,240 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, 2019 in Jenkins by anonymous
14,958 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
• 18,040 points
14,624 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
14,470 views
0 votes
1 answer

How do I copy a file from docker container to host?

Here is a way which you can ...READ MORE

Aug 27, 2018 in Docker by Damon Salvatore
• 5,540 points
13,974 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, 2019 in Ansible by Kalgi
• 51,850 points
13,952 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, 2019 in Docker by Umer
13,787 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,200 points
13,475 views
0 votes
3 answers

Using multiple commands in a kubernetes yaml file

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

Apr 23, 2019 in Kubernetes by lyza
13,466 views
0 votes
2 answers

How do i move jenkins from one server to another?

1. Copy all the files in your JENKINS_HOME directory over ...READ MORE

Aug 2, 2019 in Jenkins by Sirajul
• 53,110 points
13,343 views
0 votes
4 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,940 points
12,859 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
12,275 views
+4 votes
4 answers

local docker image on minikube

I know this is an old question ...READ MORE

Feb 1 in Kubernetes by anonymous
12,250 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
12,213 views
+2 votes
4 answers

How to install packages inside a docker Ubuntu image?

Execute the update and the install command ...READ MORE

Apr 24, 2019 in Docker by Vismaya
12,088 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, 2019 in Git & GitHub by Sirajul
• 53,110 points
11,944 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
11,741 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,200 points

edited Oct 16, 2018 by lina 11,719 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, 2019 in Kubernetes by aneesh ansari
11,554 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, 2019 in Jenkins by Maya
11,080 views
+2 votes
4 answers
+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,960 points
10,919 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, 2019 in Jenkins by Vedant
10,859 views
+1 vote
1 answer

How to expose docker container's ip and port to outside docker host without port mapping?

you can accomplish this with IP aliasing ...READ MORE

Aug 2, 2018 in Docker by Kalgi
• 51,850 points

edited Jan 16 by Kalgi 10,624 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, 2019 in Kubernetes by Kalyan
10,530 views
+1 vote
5 answers

Is it possible to shift or move jobs between two jenkins servers?

There are some Jenkins plugins out there ...READ MORE

Oct 25, 2018 in Jenkins by akaash
10,498 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
10,303 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,850 points
10,281 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
10,196 views
0 votes
2 answers

how to execute a shell script post build step in Jenkins?

You could use the Post Build Task Plugin ...READ MORE

Jul 31, 2019 in Jenkins by Sirajul
• 53,110 points
10,040 views
0 votes
1 answer

How do I set up a windows_slave agent via JNLP, If I have a Jenkins master configured on linux?

JNLP(JAVA NETWORK LAUNCH PROTOCOL) is used to Connect to/launch ...READ MORE

Jun 3, 2019 in Jenkins by Sirajul
• 53,110 points
9,899 views