I appreciated the docker explanation. Spoke volumes. Great job.
@Guillen86063 жыл бұрын
Hi Daren, I have jenkins running in a docker image and end up getting the error message "...script.sh: docker: not found". Any videos you can recomend to fix this?
@joeb.11632 ай бұрын
did you find a solution to this?
@AmitKumar-jp4uh Жыл бұрын
Thank you sir. You explained awesome.
@benhadjyahiamehdi47722 жыл бұрын
hello sir , my git repository does not have such a jenkins file , can i add it manually so that it uses the token as password ? dockerhub says that access is denied when i push an image from jenkins freestyle project
@yateenbbaluja431210 ай бұрын
I tested as per this tutorial but I am getting an error 'docker not found' when I am building an image inside Jenkins job
@idobistry8 ай бұрын
you will need to install docker on your image
@user-im3dw7li4vАй бұрын
@@idobistry the image of the application or the image of jenkins?
@user-im3dw7li4vАй бұрын
When i try to run docker commands in the pipeline, i get "docker: not found".i think i dont have docker installed on my jenkins agent. Can someone help?
@anupampatil64437 ай бұрын
Hi the darinpope dockerhub repository selected for multibranch pipeline is running in progress for indefinite period. Do we have to select different repository
@jpbd75742 жыл бұрын
Hi. Can you do a similar example with GHCR? I am incapable of pushing using a Github application that is bound to our organisation. Please let me know!
@aptget8223 жыл бұрын
Thanks for the video. how to solve this warning: Your password will be stored unencrypted in /var/lib/jenkins/.docker/config.json. Assume I created docker credentials helper file, how to use it inside the Jenkins pipeline? thank you
@muhuradedan8 ай бұрын
I wish you explained how you set up the Jenkins account. You lost me at the jenkins part lol
@lavanyaeswaran61132 жыл бұрын
Can you share that git link
@Avico78 Жыл бұрын
Thanks Darin for great tutorial ! where does the $DOCKERHUB_CREDENTIALS_PSW and $DOCKERHUB_CREDENTIALS_USR are getting from? In case u cover that in some other video it would be really helpful if can refer me , thanks again!
@nagyadel7464 Жыл бұрын
The Jenkins declarative pipeline is provided with a helper method called credentials(). When the username and pssword credentials are stored in the environment variable using the credentials method, these credentials can be accessed as a set of username password from the environment variable which is DOCKERHUB_CREDENTIALS in our case. Apart from this, this environment variable can also be used to access username as a separate entity by appending USR to the environment variable i.e. DOCKERHUB_CREDENTIALS_USR in our case. The same variable can also be used to access password by appending PSW to the environment variable i.e. DOCKERHUB_CREDENTIALS_PSW in our case.
@idobistry8 ай бұрын
environment { DOCKERHUB_CREDENTIALS= credentials('') } The Jenkins pipeline has provided helper method : credentials(). once yuo call it , it should store the username password into the env variuables these credentials can be accessed as a set of username password from the environment variable which is DOCKERHUB_CREDENTIALS see the log of the execution : [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of %DOCKERHUB_CREDENTIALS% or %DOCKERHUB_CREDENTIALS_USR% or %DOCKERHUB_CREDENTIALS_PSW% [Pipeline] { [Pipeline] stage
@oleggorenkov2 ай бұрын
"Masking supported pattern matches of $DOCKER_HUB_CREDENTIALS or $DOCKER_HUB_CREDENTIALS_PSW"
@idobistry8 ай бұрын
Hi Darin I am having issues executing docker on dockered slave that is windows docker slave , when the controller is on linux It looks like the slave staerts eecuting docekr , but when trying to execute tests and manuipulation of this image created , it is looking at windws path (this is a windows slave) that I configured beofre in jenkins , but examone it like a linux path and tells me that this path is relative (it is not !!! d:/.../docker_agent/ )