Trending questions in DevOps & Agile

+3 votes
17 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
431,929 views
+2 votes
2 answers

Copying files from host to Docker container

P.S The docker cp command works similar to the ...READ MORE

Aug 28 in Docker by Pistle
• 1,000 points
116,915 views
+3 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
114,978 views
+2 votes
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 87,846 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
• 57,870 points
74,573 views
+2 votes
11 answers

Set environment variables in Jenkins

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

Dec 10, 2018 in Jenkins by Celia
68,793 views
+2 votes
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
• 57,870 points
43,551 views
+2 votes
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
50,704 views
+2 votes
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
47,501 views
+3 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
51,516 views
+4 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
• 900 points
26,441 views
+2 votes
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
• 57,870 points

edited May 28, 2019 by Sirajul 30,226 views
+2 votes
5 answers

Is accessing kubernetes dashboard remotely possible?

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

Mar 9 in Kubernetes by Ali
• 160 points
22,649 views
0 votes
2 answers

fatal: unable to access could not resolve host: GitHub

Hi@akhtar, This can be caused in incorrect proxy ...READ MORE

Apr 10 in Git & GitHub by MD
• 55,020 points
6,618 views
+2 votes
3 answers

! [rejected] master -> master (fetch first) error: failed to push some refs to 'git@github.com:abc70/new.git'

git push origin master --force I met the ...READ MORE

Apr 29 in Git & GitHub by anonymous
8,038 views
+3 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, 2019 in Jenkins by Sirajul
• 57,870 points
28,526 views
0 votes
1 answer

COPY failed: stat /var/lib/docker/tmp/docker-builder506410735/root/page: no such file or directory

Hi@akhtar, To copy files from base system to ...READ MORE

Jun 4 in Docker by MD
• 55,020 points
5,482 views
0 votes
2 answers

mvn not recognized as an internal or external command error

Build maven in folder where maven is ...READ MORE

Aug 1 in DevOps Tools by Visha
11,927 views
0 votes
1 answer

How to use aws-cli commands inside Boto3?

Hi@Lakshminarayanan, I am not able to understand the ...READ MORE

20 hours ago in DevOps on Cloud by MD
• 55,020 points
28 views
0 votes
1 answer

Boto3 not retrieving users from AWS Appstream. whats the issue?

Hi@Lakshminarayanan, I think you didn't get any output ...READ MORE

18 hours ago in DevOps on Cloud by MD
• 55,020 points
24 views
0 votes
1 answer

Whenever I open Kubernetes dashboard , it ask for token. How to fix it ?

This article will help you. https://www.google.co.in/amp/s/www.edureka.co/blog/install-kubernetes-on-ubuntu/amp/ You have to ...READ MORE

18 hours ago in Kubernetes by Jai
8 views
0 votes
1 answer

Getting 500 error code while Bitbucket-Jenkins integration.

Use generic webhook instead of bitbucket webhook. It ...READ MORE

18 hours ago in DevOps Tools by Krishnom
5 views
0 votes
1 answer

Can anyone tell me How Jira is Important in DevOps??

You should learn what Jira is and ...READ MORE

19 hours ago in DevOps Tools by Camey
6 views
0 votes
1 answer

Can anyone help me with integrating my Jenkins(running in the local machine)with a Github project?

You can do the config in the ...READ MORE

18 hours ago in Jenkins by Karthish Krishna
4 views
0 votes
1 answer

How to solve the issue with crashloopbackoff in my kubernetes Pod?

If your image is completed and not ...READ MORE

18 hours ago in Kubernetes by Jai
3 views
0 votes
1 answer

How to do SSH in EC2 instance using Ansible Playbook?

Hi@akhtar, To configure your inventory dynamically you need ...READ MORE

1 day ago in Ansible by MD
• 55,020 points
7 views
0 votes
1 answer

How to launch MySQL docker container using Ansible playbook?

Hi@akhtar, You can use docker_container module in your ...READ MORE

1 day ago in Ansible by MD
• 55,020 points
5 views
0 votes
1 answer

How to set dynamic host inventory file for docker in Ansible?

Hi@akhtar, In a configuration especially a container setup such ...READ MORE

1 day ago in Ansible by MD
• 55,020 points
15 views
0 votes
1 answer

How to create docker volume using Ansible?

Hi@akhtar, We can create a volume docker resource ...READ MORE

1 day ago in Ansible by MD
• 55,020 points
12 views
0 votes
1 answer

What is dynamic inventory in Ansible?

Hi@akhtar, In a configuration especially a cloud setup such ...READ MORE

1 day ago in Ansible by MD
• 55,020 points
10 views
0 votes
1 answer

Create a network in Docker using Ansible playbook.

Hi@akhtar, The docker_network module (Ansible 2.2 or higher) can create ...READ MORE

1 day ago in Ansible by MD
• 55,020 points
8 views
0 votes
1 answer

How to start a docker container with healthstatus using Ansible?

Hi@akhtar, You can use the docker_container module in ...READ MORE

1 day ago in Ansible by MD
• 55,020 points
12 views
0 votes
1 answer

How to create a docker container using Ansible?

Hi@akhtar, You can use the docker_container module in ...READ MORE

1 day ago in Ansible by MD
• 55,020 points
11 views
0 votes
1 answer

Create a container with limited capabilities using Ansible playbook.

Hi@akhtar, The docker_container module has capabilitues keyword. This ...READ MORE

1 day ago in Ansible by MD
• 55,020 points
9 views
0 votes
1 answer
0 votes
1 answer

How to remove a docker container using Ansible playbook?

Hi@akhtar, You can set the state=absent in your ...READ MORE

1 day ago in Docker by MD
• 55,020 points
7 views
0 votes
1 answer
0 votes
2 answers

Invalid key error message while using Docker for Windows

I think the problem is with the ...READ MORE

5 days ago in Docker by Kim
14 views
0 votes
1 answer

How to setup which trigger email notification to email id's in Jenkins pipeline script at every stage?

Hi@Shashi, You need to install some plugins in ...READ MORE

3 days ago in Jenkins by MD
• 55,020 points
20 views
0 votes
1 answer

How to assemble files from a directory?

Hi@akhtar, Ansible has the assemble module. This module can ...READ MORE

4 days ago in Ansible by MD
• 55,020 points
25 views
0 votes
1 answer

How to remove duplicate entries from a file using Ansible?

Hi@akhtar, You can use the shell module to do your ...READ MORE

4 days ago in Ansible by MD
• 55,020 points
19 views
0 votes
1 answer

Jenkins: "Error: A JNI error has occurred, please check your installation and try again"

In my case, the issue was caused ...READ MORE

5 days ago in Jenkins by Kim
31 views
0 votes
1 answer

"module_stderr": "/bin/sh: 1: /usr/bin/python: not found\n", MODULE FAILURE\nSee stdout/stderr for the exact error",

Hi@akhtar, This is because your system does not ...READ MORE

4 days ago in Ansible by MD
• 55,020 points
18 views
0 votes
1 answer

Merge/Append two files into single file and ensure no duplicate entries are found using Ansible

Hi@Jp, You need to create your own customized ...READ MORE

4 days ago in Ansible by MD
• 55,020 points
23 views
0 votes
1 answer

How to compare two files using Ansible?

Hi@akhtar, You can use the copy module in ...READ MORE

4 days ago in Ansible by MD
• 55,020 points
14 views
0 votes
1 answer

How to move/rename a file using an Ansible task on a remote system?

Hi@akhtar, You can use the command module to ...READ MORE

4 days ago in Ansible by MD
• 55,020 points
13 views
0 votes
1 answer

How to switch a user per task or set of tasks?

Hi@akhtar, Ansible has a concept of privilege escalation. ...READ MORE

4 days ago in Ansible by MD
• 55,020 points
11 views
0 votes
1 answer

Cannot access the MetalLB LoadBalancer IP from outside my kubernetes cluster.

Check the firewall config and What port ...READ MORE

5 days ago in Kubernetes by Garama
20 views