Most answered questions in DevOps & Agile

+14 votes
19 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
1,226,201 views
+3 votes
12 answers

Set environment variables in Jenkins

You can try something like this stages { ...READ MORE

Dec 10, 2018 in Jenkins by Celia
107,796 views
+2 votes
12 answers

How to run multiple commands in docker at once?

In order to run multiple commands in ...READ MORE

Jul 19, 2018 in Docker by Sophie may
• 10,610 points
248,207 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,890 points
12,546 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, 2019 in Docker by Haseeb
12,117 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
3,185 views
+1 vote
7 answers

Error: Jenkins Maven Build 137

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

May 6, 2019 in Jenkins by Danica
8,293 views
0 votes
7 answers

docker: executable file not found in $PATH

try to build the image with --no-cache. I ...READ MORE

Nov 1, 2020 in Docker by Deeptesh Agrawal
61,259 views
+3 votes
7 answers

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

Hi, You can copy Jobs in between your ...READ MORE

Dec 16, 2020 in Jenkins by MD
• 95,440 points
44,470 views
+4 votes
7 answers

If conditional in docker file

First of all, create a build_internal.sh file ...READ MORE

May 29, 2018 in Docker by DareDev
• 6,890 points
120,388 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,570 points
35,197 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
24,621 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
39,930 views
+1 vote
6 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
46,559 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
1,452 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
33,212 views
+3 votes
5 answers

Is accessing kubernetes dashboard remotely possible?

Yes it is possible by using NodePort ...READ MORE

Mar 9, 2020 in Kubernetes by Ali
• 160 points
46,184 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,522 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,821 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 27, 2019 in Kubernetes by aneesh ansari
35,073 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,553 views
0 votes
5 answers

Kubernetes ingress kepps returning 502 server error

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

May 6, 2019 in Kubernetes by Oishi
12,269 views
+3 votes
5 answers

How to run YML compose file?

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

May 7, 2019 in DevOps & Agile by Mithin
248,858 views
+2 votes
5 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
• 59,230 points
38,566 views
0 votes
5 answers

What is the default Jenkins password?

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

Apr 23, 2019 in Jenkins by Vinod
44,409 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,695 views
+2 votes
5 answers

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

You have to set your PATH to ...READ MORE

Aug 2, 2018 in Git & GitHub by Sophie may
• 10,610 points
46,714 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,937 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,542 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
• 52,360 points
8,021 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,041 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
60,263 views
+2 votes
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,680 points
11,822 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,782 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
1,038 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 21, 2018 in Jenkins by anonymous
32,645 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,930 views
+2 votes
5 answers

main roles of DevOps

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

Oct 16, 2018 in DevOps & Agile by Haider
1,269 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,300 points
1,983 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,220 points
27,492 views
0 votes
4 answers

Kubernetes dashboard not showing up outside

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

Mar 20, 2019 in Kubernetes by anonymous
6,033 views
+2 votes
4 answers

Kubernetes cluster pod status EVICTED

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

Jan 22, 2019 in Kubernetes by Lyndon
27,395 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, 2019 in Ansible by Bobin
13,978 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
• 52,360 points
5,374 views
0 votes
4 answers
+4 votes
4 answers

Git push vs git push origin

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

Apr 23, 2019 in Git & GitHub by Hiran
247,836 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,057 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
49,376 views
+3 votes
4 answers

How do I execute multiple commands using docker-compose

It can be solve by using bash -c ...READ MORE

Sep 20, 2018 in Docker by shubham
• 7,340 points
109,921 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,697 views