Trending questions in DevOps & Agile

+13 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,026,940 views
+3 votes
3 answers

Copying files from host to Docker container

Hi, You can use the docker cp command ...READ MORE

Dec 9, 2020 in Docker by MD
• 95,340 points
307,794 views
+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
215,864 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,590 points
189,703 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
• 59,170 points
134,481 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
130,105 views
+2 votes
2 answers

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
• 59,170 points
101,850 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
102,004 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,320 points
93,817 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
88,952 views
+3 votes
2 answers

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
• 59,170 points

edited May 28, 2019 by Sirajul 78,872 views
+1 vote
2 answers

fatal: unable to access could not resolve host: GitHub

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

Apr 10, 2020 in Git & GitHub by MD
• 95,340 points
71,609 views
+5 votes
3 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
• 10,590 points
78,664 views
+5 votes
2 answers

How to assign a groovy variable to a shell variable?

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

Dec 4, 2019 in Jenkins by Raveendiran
• 980 points
67,756 views
+1 vote
1 answer

How to install packages in a Docker container?

Hi@akhtar, To install packages in a docker container, ...READ MORE

Apr 15, 2020 in Docker by MD
• 95,340 points
66,344 views
0 votes
1 answer

Error: error response from daemon get https //registry-1.docker.io/v2/ connection refused

Hi@akhtar, Sometimes it happens. I also faced this ...READ MORE

Aug 27, 2020 in Docker by MD
• 95,340 points
44,342 views
+2 votes
3 answers

mvn not recognized as an internal or external command error

Setting the environment variables JAVA_HOME, MAVEN_HOME and  ...READ MORE

Jun 3, 2019 in DevOps Tools by Sirajul
• 59,170 points
50,739 views
+1 vote
3 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

Jul 31, 2019 in Jenkins by Sirajul
• 59,170 points
45,112 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
50,103 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, 2020 in Git & GitHub by anonymous
36,752 views
0 votes
2 answers

How to change the default Jenkins port in Windows?

Hi@akhtar, Yes, you can change Jenkins port no. ...READ MORE

Jun 3, 2020 in Jenkins by MD
• 95,340 points
22,325 views
0 votes
1 answer

The connection to the server localhost:8080 was refused - did you specify the right host or port?

Hi@akhtar, You may get this error if Kubectl ...READ MORE

Jun 6, 2020 in Kubernetes by MD
• 95,340 points
32,804 views
0 votes
0 answers

How can I save username and password in Git?

I want to do a push and ...READ MORE

4 days ago in Git & GitHub by Kichu
• 17,230 points
5 views
0 votes
0 answers

What does "Changes not staged for commit" mean

As far as I know, to track ...READ MORE

5 days ago in Git & GitHub by Kichu
• 17,230 points
8 views
0 votes
0 answers

git fatal Could not read from remote repository

I want to set git with http://danielmiessler.com/study/git/#website to manage ...READ MORE

May 20 in Git & GitHub by Kichu
• 17,230 points
55 views
0 votes
0 answers

How do I properly force a Git push?

I have cloned a remote non-bare main ...READ MORE

May 19 in Git & GitHub by Kichu
• 17,230 points
13 views
+1 vote
1 answer

How to rename Docker images without rebuilding it?

Hi@akhtar, You can rename your docker image by ...READ MORE

May 19, 2020 in Docker by MD
• 95,340 points
31,380 views
0 votes
0 answers

How do I use git reset --hard HEAD to revert to a previous commit

When I revert this commit: git reset --hard ...READ MORE

May 15 in Git & GitHub by Kichu
• 17,230 points
17 views
0 votes
0 answers

Git fetch remote branch

I am my co-worker are working on ...READ MORE

May 14 in Git & GitHub by Kichu
• 17,230 points
17 views
0 votes
0 answers

How do I resolve git saying "Commit your changes or stash them before you can merge"?

I made some changes to my local ...READ MORE

May 13 in Git & GitHub by Kichu
• 17,230 points
19 views
0 votes
0 answers

git - remote add origin vs remote set-url origin

I created a new repo: git init echo "# ...READ MORE

May 13 in Git & GitHub by Kichu
• 17,230 points
17 views
0 votes
0 answers

Updates were rejected because the tip of your current branch is behind its remote counterpart

We have a branch called dev We access it ...READ MORE

May 5 in Git & GitHub by Kichu
• 17,230 points
128 views
0 votes
0 answers

Could not open a connection to your authentication agent

I am getting this warning error: $ git ...READ MORE

May 8 in Git & GitHub by Kichu
• 17,230 points
11 views
0 votes
0 answers

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

I am trying to install a software ...READ MORE

Apr 29 in Other DevOps Questions by Kichu
• 17,230 points
293 views
0 votes
0 answers

git error: failed to push some refs to remote

When I use the git push origin ...READ MORE

Apr 30 in Git & GitHub by Kichu
• 17,230 points
223 views
0 votes
0 answers

How to solve npm error "npm ERR! code ELIFECYCLE"?

I have a sample code for the ...READ MORE

May 1 in Other DevOps Questions by Kichu
• 17,230 points
132 views
0 votes
0 answers
0 votes
0 answers

Input string was not in a correct format

I am working on a basic calculator  ...READ MORE

May 2 in Other DevOps Questions by Kichu
• 17,230 points
65 views
0 votes
0 answers

Conversion failed when converting date and/or time from character string while inserting datetime

I tried creating a table as follows: create ...READ MORE

Apr 29 in Other DevOps Questions by Kichu
• 17,230 points
167 views
0 votes
0 answers

How to upload a project to GitHub?

I have created a repository and now ...READ MORE

May 2 in Git & GitHub by Kichu
• 17,230 points
32 views
0 votes
0 answers

String was not recognized as a valid DateTime " format dd/MM/yyyy"

I want to convert my string formatted ...READ MORE

May 1 in Other DevOps Questions by Kichu
• 17,230 points
38 views
0 votes
0 answers

Can't connect to MySQL server on 'localhost' (10061) after Installation

I ran "mysqlshow -u root -p" on ...READ MORE

May 1 in Other DevOps Questions by Kichu
• 17,230 points
13 views
0 votes
0 answers

Can't create handler inside thread that has not called Looper.prepare()

The code: Toast toast = Toast.makeText(mContext, "Something", Toast.LENGTH_SHORT); This ...READ MORE

May 1 in Other DevOps Questions by Kichu
• 17,230 points
37 views
0 votes
0 answers

Bootstrap : TypeError: $(...).modal is not a function

When I call  bootstrap modal from jquery ...READ MORE

May 1 in Other DevOps Questions by Kichu
• 17,230 points
23 views
0 votes
0 answers

Recyclerview No adapter attached; skipping layout

I replaced ListView with RecyclerView in my ...READ MORE

Apr 28 in Other DevOps Questions by Kichu
• 17,230 points
150 views
0 votes
0 answers

Call to undefined function mysql query with Login

When I run this PHP code I ...READ MORE

May 1 in Other DevOps Questions by Kichu
• 17,230 points
20 views
0 votes
0 answers

The request was aborted: Could not create SSL/TLS secure channel

When I connect to an  HTTPS server ...READ MORE

May 1 in Other DevOps Questions by Kichu
• 17,230 points
21 views
0 votes
0 answers

400 BAD request HTTP error code meaning?

I am posting a JSON request to ...READ MORE

May 1 in Other DevOps Questions by Kichu
• 17,230 points
20 views
0 votes
0 answers

How can I prevent java.lang.NumberFormatException: For input string: "N/A"?

 I am getting a NumberFormatException: java.lang.NumberFormatException: For input string: ...READ MORE

Apr 30 in Other DevOps Questions by Kichu
• 17,230 points
46 views
0 votes
0 answers

TypeError: $(...).DataTable is not a function

I am working on jQuery's Datatable JS ...READ MORE

Apr 29 in Git & GitHub by Kichu
• 17,230 points
81 views