Most answered questions in DevOps & Agile

+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 19,519 views
+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
89,449 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
24,931 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,216 views
+1 vote
7 answers

How to connect to a Docker container running mysql on Windows 10?

Avoid using bind_address in your my.cnf file. I don't ...READ MORE

Apr 25 in Docker by Haseeb
2,566 views
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

Aug 27, 2018 in Docker by Mahesh Ajmeria
1,020 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,040 points
7,379 views
+2 votes
6 answers

How to add a volume to Docker, but also exclude a sub-folder?

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

Nov 21, 2018 in DevOps & Agile by Shubham
• 1,000 points
2,724 views
+1 vote
6 answers

Error: Jenkins Maven Build 137

I disagree with @Pam's answer. The problem ...READ MORE

May 5 in Jenkins by Danica
1,199 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,635 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,455 views
+3 votes
6 answers

Devops and security

By using tools that are shared across the ...READ MORE

Oct 23, 2018 in Other DevOps Questions by Anvit
81 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
15,755 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,059 views
0 votes
5 answers

Kubernets cluster pod stays in pending state

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

May 3 in Kubernetes by Kashish
2,841 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
4,878 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,584 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 )
2,373 views
0 votes
5 answers

Kubernetes ingress kepps returning 502 server error

I have added "/" endpoints in each ...READ MORE

May 5 in Kubernetes by Oishi
1,607 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,386 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,641 views
+1 vote
5 answers

ERROR: 'git' is not recognized as an internal or external command.

You need to make sure git.exe is ...READ MORE

May 7 in Git & GitHub by Yesha
2,418 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
• 41,460 points
1,665 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
• 41,460 points
2,771 views
+2 votes
5 answers

Change parameter values while implementing helm chart

You can use helm upgrade --reuse-values --set ingress.enabled=false or ...READ MORE

Jul 25, 2018 in Kubernetes by Kalgi
• 41,460 points
1,208 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 in Jenkins by Vijay
994 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
5,890 views
+1 vote
5 answers

Where are Docker images stored on the host machine?

The contents of the /var/lib/docker directory vary ...READ MORE

Jul 18, 2018 in Docker by Kalgi
• 2,620 points
2,311 views
+1 vote
5 answers

Set containers timezones by using docker compose.

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

Jul 8, 2018 in Docker by Atul
• 10,240 points
2,821 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,402 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
1,652 views
+2 votes
5 answers

Distributed revision control vs Centralized revision control

The main difference between the two classes ...READ MORE

Oct 23, 2018 in DevOps & Agile by Kanta
57 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
6,884 views
+13 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
• 41,460 points
2,762 views
+3 votes
5 answers

main roles of DevOps

Can you please brief about the roles ...READ MORE

Oct 16, 2018 in DevOps & Agile by Haider
84 views
+6 votes
5 answers

can't remove SSIS variables using remove method on PowerShell

you're missing the additional $environment.Alter() after your ...READ MORE

Mar 27, 2018 in DevOps & Agile by ajs3033
• 7,280 points
89 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,146 views
0 votes
4 answers

Kubernetes dashboard not showing up outside

In dashboard yaml, change cluster ip to ...READ MORE

Mar 19 in Kubernetes by anonymous
513 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
5,904 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,632 views
0 votes
4 answers

what is network namespace and how we can access network namespace for the container?

Hey @Ali, I'll just combine @Eric, @Jackie ...READ MORE

Dec 20, 2018 in Docker by Kalgi
• 41,460 points
471 views
0 votes
4 answers
+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,692 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 in Kubernetes by Sid
2,295 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,325 views
+1 vote
4 answers

Can I set ulimit for containers in k8s?

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

May 7 in Kubernetes by Inayat
2,089 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
6,511 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
4,934 views
+1 vote
4 answers

Kubernetes- HTTPS API return `Unauthorized`

One way to do this is by ...READ MORE

Sep 5, 2018 in Kubernetes by u_told_me_to
120 views
+2 votes
4 answers