I try to build react app using pipeline. Here is my Jenkinsfile pipeline { agent { docker { image 'node:16-buster-slim' args '-p 3000:3000' } } stages { stage('Build') { steps { sh 'npm install' } } } } I got error cp: cannot stat '/home/jenkins/workspace/react-app@tmp/durable-c2f27226/script.sh': No such file or directory sh: 1: cannot create /home/jenkins/workspace/react-app@tmp/durable-c2f27226/jenkins-log.txt: Directory nonexistent sh: 1: cannot create /home/jenkins/workspace/react-app@tmp/durable-c2f27226/jenkins-result.txt.tmp: Directory nonexistent mv: cannot stat '/home/jenkins/workspace/react-app@tmp/durable-c2f27226/jenkins-result.txt.tmp': No such file or directory Sending interrupt signal to process I login to dynamic agent container and see that react project is there. And try to login to nodejs container, react app folder is empty. I add argument to pipeline like this: `args '-v $HOME:/home -p 3000:3000'`but the error still happen. I there anything I forgot?
@rajun2835Күн бұрын
Excellent video sir
@technologytheoryhandson863Күн бұрын
Many thanks..
@FakhryBurhanuddin20142 күн бұрын
This is what i'm looking for. Thank you very much
@technologytheoryhandson863Күн бұрын
I'm glad it helped you!
@cubaturishe3 күн бұрын
perfectly explained, thank you
@technologytheoryhandson863Күн бұрын
Thank you for your kind words 🙏
@missingdoc96047 күн бұрын
Then how does a machine from the internet access the Linux VM?.
@batcat9k8 күн бұрын
"want to buy a flower? flower very cheap. plz buy flower."
@SauravKanav17 күн бұрын
Hii, I'm getting an error while fetching my imahe from docker private repo on nexus using kubernetes deployment error is server gave http response to https client ImagePullBackOff. Can I use this solution to resolve the error?
@technologytheoryhandson86317 күн бұрын
This video is to setup the docker registry in nexus with https...There are multiple reasons kubernetes deployment can fail with imagepullbackoff issue like mismatch of images,tags, credentials, network issues etc. You need to describe your pod and check for the events for your troubleshooting...
@SauravKanav17 күн бұрын
@technologytheoryhandson863 I finally solved the issue it is related to cri I have configured insecure registry for docker but my nodes were using containerd as cri so I changed it to docker and my problem is resolved. Thanks :)
@blessingjennifer2420 күн бұрын
Thanks for sharing.
@technologytheoryhandson86320 күн бұрын
You are welcome..
@deveshsharma-u2lАй бұрын
But is there a need to install docker on ubuntu image as we are accessing the host docker daemon and docker cli na through that socket
@technologytheoryhandson863Ай бұрын
Yes.. docker cli is sufficient to install..no need of full Docker installation
@anandhu5082Ай бұрын
8:26 Im confused, why are we not specifying the user anywhere? while creating the node. Does it go by default with the jenkins user in the agent ? or by root?
@technologytheoryhandson863Ай бұрын
We have used jenkins user throughout the demo...in jenkins we have created credentials with username jenkins and used the same
@anandhu508228 күн бұрын
@@technologytheoryhandson863 Thanks I totally missed the fact that, the SSH credentials we created also has the username. Thank you
@anandhu5082Ай бұрын
I was able to setup the dint/agent container in agent vm. But @ 9:45 Im getting below error in the Node logs. ERROR: Server rejected the 1 private key(s) for root (credentialId:Jenkins-private-key/method:publickey) Also, when I try to directly ssh into the agent container in the agent vm from my jenkins host, I get this error: ssh -p 2200 root@<ip> root@<ip>: Permission denied (publickey). Any clue? But ssh into the agent vm, works fine : ssh root@<ip>
@technologytheoryhandson86329 күн бұрын
You need to use jenkins user instead of root user as present in jenkins credentials
@anandhu508227 күн бұрын
@@technologytheoryhandson863 Worked,thank you.. (i don't know what exactly was wrong. I changed to jenkins user. Also correct a dumb mistake I did earlier- I used the private key from my local laptop instead of the one from the jenkins host to create the credential in jenkins)
@anandhu5082Ай бұрын
@12:56 Am I right that, the "agent" is right now in the "jenkins container" itself and that, the "docker cli" in the Jenkins container, is connected to the daemon within the DinD container? Fantastic videos,
@technologytheoryhandson863Ай бұрын
Thank you @anandhu..Yes . you are correct..here we have used jenkins master as the agent itself and the docker cli in the jenkins master container.. and it is connected to find container..
@anandhu5082Ай бұрын
@@technologytheoryhandson863 Perfect. thank you One more query @5:43 - I don't currently understand how those certificates files that you are showing work, and what happens when you mount them. What should I search for to learn about that. openssl tutorials?
@technologytheoryhandson863Ай бұрын
@@anandhu5082 These are TLS certificates which allow secure communication between client and server..
@bhavanibhattu5623Ай бұрын
Great explanation. Thank you! 🙏
@technologytheoryhandson863Ай бұрын
Thank you for your nice comment 😊🙏
@Shyam_raj10Ай бұрын
Great
@technologytheoryhandson863Ай бұрын
Thank you 🙏
@vimalak2561Ай бұрын
Sir I am stuck at 3:36 sec I am unable to extract the content to tomcat Could you please help me with this I am getting error - this doesn't look like a tar archive
@technologytheoryhandson863Ай бұрын
May be the download of your tar file was not done successfully.. Pls check the size of the file... you can also check the checksum of the file..
@deepu_593Ай бұрын
@@technologytheoryhandson863 thank you sir i redownloaded it and its working now
@faiqueali2 ай бұрын
What about when we have only one docker host that is Jenkins Master and want to create dynamic jenkins agent also on the same machine?
@technologytheoryhandson8632 ай бұрын
In this case you can use Unix socket like unix:///var/run/docker.sock in Docker cloud configuration for Docker Host URI..so that master can connect to Daemon using this Unix socket instead of TCP connection.. remaining steps would be same..
@srinivasaraju83992 ай бұрын
can I perform a these things in local cluster
@technologytheoryhandson8632 ай бұрын
I am not sure what you mean by local cluster.. how you created the cluster and how many nodes?
@thineshdoni2 ай бұрын
❤❤
@technologytheoryhandson8632 ай бұрын
Thank you🙏
@greenpill8102 ай бұрын
I love you. Straight to the point
@technologytheoryhandson8632 ай бұрын
Thank you.. glad it helped you 👍
@srinivasaraju83992 ай бұрын
Thank you brother ❤🎉
@technologytheoryhandson8632 ай бұрын
Thank you .. you are welcome 👍
@reddy68962 ай бұрын
Nice explanation
@technologytheoryhandson8632 ай бұрын
Thank you very much 🙏
@thineshdoni3 ай бұрын
This video topic is vry useful for me.thanks a lot bro ❤
@technologytheoryhandson8633 ай бұрын
Thank you @thineshdoni...I am happy it helps you 🙏
@whthrs3 ай бұрын
Thank you!
@technologytheoryhandson8633 ай бұрын
You're welcome!
@BrunoFarina-u8g3 ай бұрын
Thanks for the video! Helped a lot \o Great work! congrats
@technologytheoryhandson8633 ай бұрын
Thank you for the nice words..i am glad it helped you..
@umargaming1503 ай бұрын
Sir i aslo have 1 qustion can i change the IP Scheme in all Virutal Machince like in my case i have install 3 windows 10 i want differ sceme for every differnt Windows for 1 10.0.2.15 (by Default) for 2 10.20.25.35 (i want to crete like Random Network with working internet i dont interset to interlinked All VM to each other. i just want differnt ip with working net) for 3 100.35.15.100 (also random)
@technologytheoryhandson8633 ай бұрын
We need to create the ips in the private ip address range as per RFC 1918...and make sure all in same address range for connectivity among them... you can go through en.m.wikipedia.org/wiki/Private_network for private address ranges...
@wTexas153 ай бұрын
Sir my problem is that I can use the internet in Kali Linux fine when I am in NAT in VirtualBox. But when I switch to NAT Network, I cannot connect to the internet in Kali Linux. Please help please
@technologytheoryhandson8633 ай бұрын
Hello..did you get different ip addresses for your VMs in NAT network..? Is your gateway address correct and also please check whether cable is connected for the VM Adapter settings for nat network..
@wTexas153 ай бұрын
@@technologytheoryhandson863 Do I need to connect to the internet via an Ethernet cable to use Nat Network? I normally connect to the internet wirelessly, directly from my computer.
@technologytheoryhandson8633 ай бұрын
This cable connection is in Virtual box network adapter settings, not the physical Ethernet connection..
@saumiksatapathy38013 ай бұрын
Most waited video.... Will give it a try.
@technologytheoryhandson8633 ай бұрын
Sure.. pls try and let me know if any issues or findings..
@clickerraw3 ай бұрын
Finally, Finally I got The Concept Our Lecturer Spoke About. Thank You So Much
@technologytheoryhandson8633 ай бұрын
I am glad it helped you 😊
@srinivasaraju83994 ай бұрын
Can you please make a video java application cicd pipeline please Your video really awesome ❤🎉
@technologytheoryhandson8634 ай бұрын
Thank you very much for the nice comment..Sure I will make a video on end to end CICD pipeline..but I need to cover topics on other required tools before that... meanwhile you can go through the video for pipeline for java build kzbin.info/www/bejne/jqW1h4aQj7RnjMUsi=7KaRatQ4iHcRPvvS
@manojkothwal35865 ай бұрын
Hi Admin, can you create a role to define the task handler for nginx service installation and invoke that role in Ansible playbook ? It will be very helpful. Thanks in Advance.
@technologytheoryhandson8635 ай бұрын
Sure...I will add that video soon... meanwhile you can go through other video without task handlers but with ansible role for nginx...kzbin.info/www/bejne/sIuQg6OPasZqjZIsi=Kdoi0fkJpE06QAjh
@stanleyzhang81545 ай бұрын
this is working, and up to date. Best suggestion: follow the instructions 100%, don't create script to do ti
@stanleyzhang81545 ай бұрын
hi, sir. can you provide the document?
@technologytheoryhandson8635 ай бұрын
hi, As discussed in video, I followed below links for setting up this. I would post the instructions in my github page and will update in the description. kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/ kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/ docs.docker.com/engine/install/ubuntu/ github.com/flannel-io/flannel#deploying-flannel-manually
@stanleyzhang81545 ай бұрын
@@technologytheoryhandson863 thank you sir, I realy appreciate.
@AniketMaurya-c1o5 ай бұрын
Awesome
@technologytheoryhandson8635 ай бұрын
Thank you..
@anoop17185 ай бұрын
hi bro, i have a doubt, can we run docker image directly without pull from docker hub.
@technologytheoryhandson8635 ай бұрын
Hi anoop..yes..we can run the image directly without pulling it from docker hub when we create our own docker image through Dockerfile or if we have private docker registry like Nexus or artifactory etc..
@NickRulesBikersChannel5 ай бұрын
Awesome!!
@technologytheoryhandson8635 ай бұрын
Thank you..
@SameerKhan-jv5rb5 ай бұрын
Unique content ❤❤
@technologytheoryhandson8635 ай бұрын
Thank you..
@GiggleMasterr5 ай бұрын
Thanks man!
@technologytheoryhandson8635 ай бұрын
You are welcome..
@aminegh87256 ай бұрын
Thank you very much , you have clarified a lot of thinks
@technologytheoryhandson8636 ай бұрын
Thank you... glad it helped you..
@unclemat99696 ай бұрын
lifesaver, have a wonderful day
@technologytheoryhandson8636 ай бұрын
Thank you very much 🙏
@udaykiranreddy67147 ай бұрын
same issue but not fixed.
@technologytheoryhandson8636 ай бұрын
What is the issue you are facing?
@udaykiranreddy67146 ай бұрын
@@technologytheoryhandson863 getting same ip address when i cloned a machine, ubuntu
@sitizarinahmohdyusof75927 ай бұрын
May i know where is the Jenkins pipeline version?
@technologytheoryhandson8637 ай бұрын
I will upload the video very soon..
@amansingh33477 ай бұрын
Nice, clear cut info
@technologytheoryhandson8637 ай бұрын
Thank you 🙏
@ColourfulBrain297 ай бұрын
Bahut bahut dhanyvad sar aapka, bahut dinon se main pareshan tha solution mil nahi Raha tha lekin aakhirkar aapka yah video dekhkar Mera solve ho gaya problem
@technologytheoryhandson8637 ай бұрын
Thank you.. glad it helped you... please subscribe to the channel and share it with your friends..
@baphomet94357 ай бұрын
You saved my day, thank you
@technologytheoryhandson8637 ай бұрын
Thank you 😊
@baphomet94357 ай бұрын
In several MVN (maven) tutorials I have seen that a "nexusArtifactUploader" method is used, but for NPM (nodejs) they only put an "install --registry"; How is Jenkins supposed to know to upload things if there is no UPLOAD method? By magic?
@technologytheoryhandson8637 ай бұрын
It is "npm publish" command that will upload to Nexus..this is native npm command and it will use package.json and npmrc config file to get relevant config details about Nexus etc..however nexusArtifactUploader is a Jenkins plugin to upload artifacts..
@baphomet94357 ай бұрын
@@technologytheoryhandson863 new subscription 👍
@vechnoerazvitiesebya7 ай бұрын
Are you working with git as ci + nexus as repo to maven?
@technologytheoryhandson8637 ай бұрын
No..I have worked with Jenkins as CI..
@technologytheoryhandson8637 ай бұрын
Friends..please use headphones for this video.
@vechnoerazvitiesebya7 ай бұрын
Hello. Where i can find this project?
@technologytheoryhandson8637 ай бұрын
This is a simple project to explain the life cycle phases. You can get it from github.com/devopscdt/example-maven-repo.git
@somyarathee7 ай бұрын
Thank u so so much sir!!
@technologytheoryhandson8637 ай бұрын
Thank you 🙏
@somyarathee7 ай бұрын
@@technologytheoryhandson863 But maybe if u increase tone quality it would be more clear to hear. but thanks for the content