Trending questions in DevOps & Agile

+4 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
607,287 views
+3 votes
3 answers

Copying files from host to Docker container

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

Jul 18, 2018 in Docker by sunshine
• 1,280 points
190,551 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
145,333 views
+2 votes
12 answers

How to run multiple commands in docker at once?

Hi, You need to use one shell to ...READ MORE

Dec 9, 2020 in Docker by MD
• 95,040 points
118,338 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
• 58,990 points
104,255 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
85,096 views
+3 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
• 58,990 points
64,647 views
+3 votes
5 answers

How to run YML compose file?

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

May 6, 2019 in DevOps & Agile by Mithin
70,247 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
63,244 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
62,984 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
• 58,990 points

edited May 28, 2019 by Sirajul 44,271 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 3, 2019 in Jenkins by Raveendiran
• 960 points
40,393 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,530 points
41,263 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
33,931 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,040 points
20,069 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,040 points
21,573 views
+1 vote
2 answers

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

I have faced the same error in ...READ MORE

Dec 3, 2020 in Docker by Tabish Ali
14,867 views
+2 votes
3 answers

mvn not recognized as an internal or external command error

Hi, You need to set the environment variables ...READ MORE

Dec 16, 2020 in DevOps Tools by MD
• 95,040 points
20,086 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
29,771 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,040 points
15,670 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
• 58,990 points
18,770 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
14,616 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,040 points
13,963 views
0 votes
1 answer

what is the full form of APSI in agile metrics ?

APSI has a wide array of meaning ...READ MORE

Nov 7, 2020 in DevOps & Agile by Edureka
• 190 points
5,550 views
+1 vote
1 answer

Error: src refspec master does not match any. error: failed to push some refs to 'ssh://xxxxx.com/project.git'.

Hi@akhtar, The most probable reason for this error ...READ MORE

Dec 22, 2020 in Git & GitHub by MD
• 95,040 points
2,062 views
0 votes
0 answers

unable to build docker-compose.yml file

I am trying to create container with ...READ MORE

Feb 8 in Docker by Amit
• 120 points
48 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,040 points
21,299 views
0 votes
1 answer

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,040 points
10,484 views
0 votes
1 answer

Remove credentials from Git.

Hi@akhtar, The Git credential cache runs a daemon ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
848 views
+1 vote
1 answer

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Hi@akhtar, It seems the docker service is not ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,040 points
1,032 views
–1 vote
1 answer

Git: cannot checkout branch - error: pathspec '…' did not match any file(s) known to git.

Hi@MD, You can try the git fetch command ...READ MORE

Jan 4 in Git & GitHub by akhtar
• 38,170 points
609 views
0 votes
1 answer

Please: Commit your changes or stash them before you can merge in Git.

Hi@akhtar, You can't merge with local modifications. Git ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
446 views
0 votes
1 answer

How to ignore an error on 'git pull' about my local changes would be overwritten by merge?

Hi Team, If you want to remove all ...READ MORE

Jan 5 in Git & GitHub by MD
• 95,040 points
325 views
0 votes
1 answer

How do I go to a particular version of a file in the Git repository?

Hi@akhtar, You can use git checkout <sha1> to check ...READ MORE

Jan 5 in Git & GitHub by MD
• 95,040 points
139 views
0 votes
1 answer

How to solve Permission denied (publickey) error when using Git?

Hi@akhtar, If the user has not generated an ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
151 views
0 votes
1 answer

Git pull a certain branch from GitHub.

Hi@akhtar, You can simply track your remote branches ...READ MORE

Jan 5 in Git & GitHub by MD
• 95,040 points
83 views
0 votes
1 answer

How do I update the password for Git?

Hi@akhtar, You need to update your credentials. For ...READ MORE

Jan 5 in Git & GitHub by MD
• 95,040 points
74 views
0 votes
1 answer

Pushing to Git returning Error Code 403 fatal: HTTP request failed.

Hi@akhtar, Github seems to only support the ssh ...READ MORE

Jan 5 in Git & GitHub by MD
• 95,040 points
78 views
0 votes
1 answer

GitHub Error Message - Permission denied (publickey).

Hi@akhtar, I think GitHub isn't able to authenticate ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
103 views
0 votes
1 answer

Link to the issue number on GitHub within a commit message.

Hi@akhtar, You just need to include #xxx in your commit message ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
87 views
0 votes
1 answer

How to download single files from GitHub?

Hi@akhtar, Git does not support downloading parts of ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
68 views
0 votes
1 answer

How to undo pushed commits in Git?

Hi@akhtar, You can revert individual commits with: git revert ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
65 views
0 votes
1 answer

Update Git branches from master.

Hi@akhtar, You can do merge. That is actually ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
64 views
0 votes
1 answer

How to get changes from master branch to a new branch in Git?

Hi@akhtar, You need to check out the branch and ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
51 views
0 votes
1 answer

How to remove version tracking from a project cloned from git?

Hi@akhtar, All the data Git uses for information ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
54 views
0 votes
1 answer

Merge test branch with master branch in Git.

Hi@akhtar, You can merge master into the test first so that ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
52 views
0 votes
1 answer

How to cancel a local git commit?

Hi@akhtar, You just need to use the git ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
47 views
0 votes
1 answer

How to ignore certain files in Git?

Hi@akhtar, The problem is that .gitignore ignores just files that ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
46 views
0 votes
1 answer

How do I access my SSH public key?

Hi@akhtar, You can use the cat command in ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
37 views
0 votes
1 answer

Cannot push to GitHub - keeps saying need merge.

Hi@akhtar, You can use the git pull origin ...READ MORE

Jan 4 in Git & GitHub by MD
• 95,040 points
41 views