Write your 1st Dockerfile | Dockerfile basics | How to write Dockerfile to setup Tomcat container

Sdílet
Vložit
  • čas přidán 8. 11. 2021
  • DevOps Online Training Registration form: bit.ly/valaxy-form
    For Online training, connect us on WhatsApp at +91-9642858583
    ============ Online Trainings =========
    Online Trainings:
    DevOps Practitioner Training ► bit.ly/ValaxySMD
    DevOps Internship Training ► bit.ly/ValaxyRPT
    Interview Preparation Sessions ► bit.ly/ValaxyDIP
    Azure DevSecOps Training ► bit.ly/ValaxyADP
    CyberSecurity Training ► bit.ly/ValaxyCST
    Mean Stack Web Development ►bit.ly/ValaxyMSWD
    Python Complete Course ►bit.ly/ValaxyPC
    Data Science Training ►bit.ly/ValaxyDSP
    Linux Shell Scripting ►bit.ly/ValaxyLSS
    Real-time DevOps Project ►bit.ly/ValaxyDRP
    Azure Admin Training ►bit.ly/ValaxyAA
    ============ Udemy Courses =========
    AR Shankar Udemy Courses ► bit.ly/udemyshankar
    DevOps Workshop-2 ► bit.ly/udemydevopsws
    DevOps Project-1 ► bit.ly/udemydevops
    Kubernetes microservices ► bit.ly/udemykube
    Linux for DevOps ► bit.ly/udemyvinux
    Git for DevOps ► bit.ly/udemygithub
    Ansible for DevOps Beginners ► bit.ly/udemyansible
    Maven for DevOps ► bit.ly/udemymaven
    ============ Our Other Courses =========
    Packages:
    Valaxy Ultimate Plan ► bit.ly/ValaxyUP
    DevOps AWS and Python ► bit.ly/ValaxyDAP
    DevOps AWS and Shell Scripting ► bit.ly/ValaxyDAS
    AWS Pack ► bit.ly/ValaxyAP
    Other Courses:
    DevOps Course ► bit.ly/ValaxyDCC
    Azure Administration ► bit.ly/ValaxyAAD
    Production Ready Project ► bit.ly/ValaxyPRP
    Kuberentes Project ► bit.ly/ValaxyKP
    AWS (Amazon Web Services) ► bit.ly/ValaxyAWS
    Python Complete Course ► bit.ly/ValaxyPCC
    Shell Scripting ► bit.ly/ValaxySS
    AWS automation with Boto3 ► bit.ly/ValaxyAWSPythonBoto3
    Docker & Kubernetes ►bit.ly/ValaxyDK
    Ansible for the DevOps ►bit.ly/ValaxyAD
    DevOps Diploma Program ►bit.ly/ValaxyDDP
    Valaxy PPTs ► bit.ly/ValaxyPPT
    ============ Free resources =========
    DevOps Resumes ► bit.ly/ValaxyDR
    Azure DevOps Resumes ►bit.ly/ValaxyADPR
    Tools to learn in DevOps ► • Which DevOps tools sho...
    ============ Connect with Us =========
    Facebook ► bit.ly/devopsgang
    Instagram ► bit.ly/valaxyinsta
    LinkedIn ► bit.ly/valaxyln
    Website ► www.valaxy.in/
    ► courses.valaxy.in/
    #Devops #Valaxy #AWS
  • Věda a technologie

Komentáře • 91

  • @divyarajshekar3435
    @divyarajshekar3435 Před rokem +3

    I feel so lucky to come across your videos. Your videos are so detailed and very understandable. You are such a life saver. Thank you

  • @vikashprasad1893
    @vikashprasad1893 Před rokem +2

    Hello sir the way you explained ...you really nailed it! Hats off to you !!!!you are really a gem of Devops ...Thankyou so much I wish if you could make videos on docker compose and docker swarm too.

  • @PriyaJ234
    @PriyaJ234 Před rokem

    This is the best ever tutorial I have seen upto now . Thanks a lot 😊 Please bring more content on Devops .

  • @arvindkumarsingh8476
    @arvindkumarsingh8476 Před 10 měsíci

    Best explanation so far on Docker. Thank you Sir.

  • @vikashprasad1893
    @vikashprasad1893 Před rokem

    You r rockstar of Devops really ...salute !!

  • @beatsofloveforever1633
    @beatsofloveforever1633 Před 7 měsíci

    supper explanation no body can explain dockerfile like you.i wanted such type of explanation

  • @ManjuYadav-zh4kx
    @ManjuYadav-zh4kx Před rokem

    thanks for the detailed explanation! this is what I have been looking for.

  • @saintstephenguild6862
    @saintstephenguild6862 Před 11 měsíci

    Excellent!!!! tutorial. A full package. Thank you very much Sir for this. I lack the right words. Thumbs up 👍 to you.
    Please will be so glad if you could make another tutorial to differentiate between CMD and ENTRYPOINT . Gracias 🙏

  • @kainatroblox4540
    @kainatroblox4540 Před 6 měsíci

    Very well explained. Thank you! I followed your tutorial, but the status of my docker container is existed. Do you have any idea why?

  • @gopalakrishna7913
    @gopalakrishna7913 Před 2 lety +1

    Thank you sir, this video is very useful for me.

  • @kamal-kc1bn
    @kamal-kc1bn Před rokem

    Wonderful sir..... please keep on doing

  • @poornimasridhar5011
    @poornimasridhar5011 Před rokem

    wonderful explanation Sir....

  • @kimacable
    @kimacable Před rokem +6

    Superb tutorial. Complex topic explained very systematically and succintly. Liked the split screen technique of comparing the route map for image build with actual real world implementation of building the docker image.👍

    • @ValaxyTechnologies
      @ValaxyTechnologies  Před rokem +1

      Feel proud when someone identified hard work behind the efforts. Thanks @kimacalbe

    • @kimacable
      @kimacable Před rokem

      @@ValaxyTechnologies Praise well deserved. Keep up the goodwork. Have subscribed and look forward to seeing other videos on your channel.😀

  • @maninkumar412
    @maninkumar412 Před rokem

    Hi sir your class are really useful and helping the people lot.
    i am requesting please do the video on the multi stage docker file with the simple example, it will help some many people
    thank you sir

  • @sudheersen8227
    @sudheersen8227 Před 4 měsíci +1

    Great video, please make dockerfile for magento please make

  • @narayanaswamy9596
    @narayanaswamy9596 Před 2 lety

    Hii,thank you for the video,nice explanation. I build a java app in jenkins and it generated a war file and i added tomcat container details i.e., in docker container. when i try to execute in jenkins, it is unable to copy the war from jenkins to tomcat container. It shows error "ERROR: Build step failed with exception" i had given the tomcat-users.xml correctly. But still it is showing the error. Could you please help me with this...

  • @raghavendraganta4
    @raghavendraganta4 Před rokem

    awesom explanation bro
    it's realy should watchable video ragarding dockerfile

  • @dips_07
    @dips_07 Před 10 měsíci

    Excellent explanation...🤟🤟🙏🙏

  • @shaikhsharukh4875
    @shaikhsharukh4875 Před 2 lety

    Please make a dedicated video On cmd vs entry point with real time based example as till now no one can able to explained these command easy way. Hope you would upload soon...

  • @namitaigit
    @namitaigit Před 2 lety

    Really good demo!

  • @anupkulkarni2334
    @anupkulkarni2334 Před 2 lety

    Hi, can u pls desc what should be done if tomcat is to be accessed outside container? how do we expose ports from linux to be abe to access it from windows machine?

  • @venkateshvikram7044
    @venkateshvikram7044 Před 2 lety

    Good one brother!!!

  • @nikkinikki757
    @nikkinikki757 Před rokem

    May i know purpose of xvzf keywords used in the run instruction to convert the tar file to .gz file?

  • @adeniyi1975
    @adeniyi1975 Před 9 měsíci +1

    Your video is excellent . Very engaging and make me to understand complex steps. Thanks

  • @doclorianrin7543
    @doclorianrin7543 Před 9 měsíci

    This video is fantastic. This is how you do a proper tutorial.

  • @bhanuprakashmatani5800

    Hi Sir, In the above video, I have opened a port 8081 - 9000 but still container is not up and running, can you pls help on this

  • @deva_2022
    @deva_2022 Před 9 měsíci

    Wonderful very easy and simple explanation. I loved it. Sir thank u 🙂

  • @salarahmad4385
    @salarahmad4385 Před 2 lety +5

    Thank a lot for this great video.. plz make a video on difference b/w CMD & ENTRYPOINT with realtime scenario. expecting soon

  • @KNDVideosandShorts
    @KNDVideosandShorts Před rokem

    Can I take Jenkins as base image for creating MySQL image in dockerfile?

  • @shivakrishna9567
    @shivakrishna9567 Před 2 lety

    Hai sir , iIn docker file it is showing an error like this, can you please help me in solving
    Error response from daemon: dockerfile parse error line 5: ADD requires at least two arguments, but only one was provided. Destination could not be determined.

  • @muzammilhusainshaikh4077

    short and simple.
    was getting error for yum repo to install java. have updated the Dockerfile then it ran fine

  • @manimurugan5
    @manimurugan5 Před 2 lety +1

    Thank you sir! Very useful for me thanks a lot

  • @vinayvince98
    @vinayvince98 Před 2 lety +1

    Thank you so much for this video. Please upload a detailed video on CMD and ENTRYPOINT

  • @vimaladeshmukh4017
    @vimaladeshmukh4017 Před 2 lety +1

    Yeah..pls make a dedicated video on cmd and entrypoint

  • @Anandkumar-ux8lf
    @Anandkumar-ux8lf Před 2 lety +1

    Very good information 👌 👍

  • @smitaghosh252
    @smitaghosh252 Před 8 měsíci

    Awesome

  • @ankitverma-fb3dg
    @ankitverma-fb3dg Před rokem +1

    i am facing this error [Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

  • @sivakumarks-devopsengineer5315

    Nice one.. Can you please make a video on real time scenario.. And what are the challenges we do face in real time scenario... Also the monitoring part as well

  • @akshayshetty2593
    @akshayshetty2593 Před rokem

    Sir could you explain multi stage build in Dockerfile

  • @crummmycheese
    @crummmycheese Před 2 lety

    Amazing explanation,i bought courses from you based on this

  • @gopalakrishna7913
    @gopalakrishna7913 Před 2 lety

    Plz make example create docker file video,

  • @chinyereonyenwe9107
    @chinyereonyenwe9107 Před 10 měsíci

    Did you later make a video on CMD and Entrypoints? I would love to understand it more

    • @ValaxyTechnologies
      @ValaxyTechnologies  Před 8 měsíci

      Yes, its already published in the channel. here you go
      czcams.com/video/xaJqV6XTqOU/video.html

  • @sudeepyernagula6866
    @sudeepyernagula6866 Před 2 lety +4

    Please give more details about CMD and ENTRYPOINT. Thanks in advance

  • @UdayKumar-vv5tv
    @UdayKumar-vv5tv Před 2 lety +1

    Thank you sir

  • @parames3039
    @parames3039 Před 2 lety +1

    Good video

  • @shivasnehav9438
    @shivasnehav9438 Před 2 lety +2

    Thank for the session,could i please request you to make video on entry point and CMD.🙂

  • @sathishkumarrajendran1154

    Nice.

  • @sivakumarks-devopsengineer5315

    How do we automate all these in the real-time scenario and what are the used cases

    • @ValaxyTechnologies
      @ValaxyTechnologies  Před 2 lety

      You can do it with help of Jenkins. And I have give an use case in my DevOps Project. You can check it our DevOps project course on courses.valaxy.in

  • @nandkumarpanchal5321
    @nandkumarpanchal5321 Před 2 lety +2

    I am facing below error while build Dockerfile.Please suggest
    Step 1/9 : FROM centos
    ---> 5d0da3dc9764
    Step 2/9 : RUN yum install java -y
    ---> Running in 2cc86d0a335f
    CentOS Linux 8 - AppStream 314 B/s | 38 B 00:00
    Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
    The command '/bin/sh -c yum install java -y' returned a non-zero code: 1

    • @akankshitadutta8842
      @akankshitadutta8842 Před 2 lety

      I'm facing the same issue. Did you find a solution to this?

    • @bhanuprakashmatani5800
      @bhanuprakashmatani5800 Před 2 lety +1

      @@akankshitadutta8842 remove the command from Docker file and install java as root user by using same command (yum install java) and then you can docker build successfully

    • @Nabeel_Kummalil
      @Nabeel_Kummalil Před rokem

      @@bhanuprakashmatani5800 thanks bro

  • @tanveersyed1049
    @tanveersyed1049 Před 2 lety +1

    Thank you for upload a video nice explanation ....pls upload docker compose and docker swarm sir

    • @ValaxyTechnologies
      @ValaxyTechnologies  Před 2 lety

      We can able to do on docker compose, But we preferred to discuss Kubernetes rather than docker swarm.

  • @lakshmimanoj970
    @lakshmimanoj970 Před rokem

    My container is exiting immediately can someone help me

  • @KumashuHome
    @KumashuHome Před 11 měsíci

    ❤❤❤

  • @KumashuHome
    @KumashuHome Před rokem

    ❤❤❤❤❤

  • @sureshkumar30111981
    @sureshkumar30111981 Před rokem

    If you, for one reason or the other, are still actively using CentOS 8, you might probably have encountered the following error when trying to update your system or simply install a package.
    “Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist”
    You may well be aware that CentOS Linux 8 died a premature death, it reached the End Of Life (EOL) on December 31st, 2021, thus it no longer receives development resources from the official CentOS project.

    • @rakeshrane7126
      @rakeshrane7126 Před rokem

      /
      yes getting error on centos 8. Which version to use?

  • @tharunmudiraj
    @tharunmudiraj Před 2 lety

    Need a special video on CMD And Entry point

  • @harshachowdary6875
    @harshachowdary6875 Před 2 lety

    what is the difference between docker build and docker run?

  • @amitsarkar4282
    @amitsarkar4282 Před rokem

    Sir, I am unable to get to my webapp.war. It's coming "403 Access Denied" error in Tomcat. Please provide some solutions.

  • @artipathak670
    @artipathak670 Před rokem

    Sir can pls provide the GitHub link of the code