Intro to Docker [with Java Examples]

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 152

  • @tjohnsonabraham
    @tjohnsonabraham 3 роки тому +48

    I never quite understood Docker until I watched this video. Dalia managed to do the impossible in less than 4 minutes. This is top quality content.

  • @alexpadula7859
    @alexpadula7859 2 роки тому +7

    Years I avoided Docker, now I'm obsessed, thank you.

  • @levinie5081
    @levinie5081 3 роки тому +40

    even better than docker official tutorial. thank you

  • @MariosMartiopoulos
    @MariosMartiopoulos 3 роки тому +6

    I never watch videos in English, but I can listen to Dalia for hours. Please give us more videos with her.

  • @skverskk
    @skverskk 3 роки тому +7

    Positively one of the best introductory tutorials on Docker out there on UA-cam.

  • @hyperborean72
    @hyperborean72 Рік тому +8

    The quality of the video, the design of the graphics, crystal clear explanation right to the point, and even soft background music make this video outstanding. Thank you

  • @yogeshmujumdar
    @yogeshmujumdar 2 роки тому +1

    Loved the way you speak. Crisp, slow and with full attention. Even a kindergarten student will be able to follow! Thanks!

  • @azatburkhanov1397
    @azatburkhanov1397 3 роки тому +4

    Best explanation of Docker Intro concepts I've even seen on web

  • @samofohachinweuba1641
    @samofohachinweuba1641 5 місяців тому

    the best docker with java video i have seen. i almost gave up on using docker with java till i watched this video. Well explained . Thank u

  • @pahan35skype
    @pahan35skype 3 роки тому +7

    Great video and material quality. This kind of format works even better than just a tutorial from Docker. And big thanks for showing us how to use Docker features from IDE.
    P.S: and it's easy to consume a material at 2x. Thanks to Dalia for the great pronunciation!

  • @dimitriosmenounos1009
    @dimitriosmenounos1009 3 роки тому +6

    Nice presentation. I want to add at 5:50 VMs don't suffer only from having to duplicate an OS but also from having to emulate hardware components to the virtual environment. That makes them both heavy and slow.

  • @sumitpatnaik2798
    @sumitpatnaik2798 3 роки тому +86

    Jet brains should start education channel for such great content

    • @JetBrainsTV
      @JetBrainsTV  3 роки тому +7

      Thank you! Which other types of content would you envision on such a channel?

    • @sumitpatnaik2798
      @sumitpatnaik2798 3 роки тому +7

      @@JetBrainsTV project based content would be great

    • @superstargazer923
      @superstargazer923 3 роки тому +3

      @@JetBrainsTV I would love having a app development video with jetbrain editor

    • @moofymoo
      @moofymoo 3 роки тому +2

      I'm thinking more of replacing existing education system with JetBrains one. They can start with my country's education system anytime, because selling out to Microsoft didn't work so well.

    • @njgarg
      @njgarg 3 роки тому

      @@JetBrainsTV A project based on Spring Boot, Kafka, Actuators, Spring Data JPA, REST APIs.

  • @manee427
    @manee427 3 роки тому +2

    The bset explanation about docker image creation. Perfect

  • @OmoruyiOmofonmwan
    @OmoruyiOmofonmwan 3 роки тому +2

    Jesus thank you so much. This is the best video yet about Docker.

  • @raphaelreitzig5984
    @raphaelreitzig5984 3 роки тому +7

    There's lots of follow-up stuff to ingest before going productive, of course -- but this _is_ a great introduction for the uninitiated! Kudos!

    • @raphaelreitzig5984
      @raphaelreitzig5984 3 роки тому +1

      @Dalia Abo Sheasha I was more thinking along the lines of how to actually create a good image (not with Dockerfile, IMHO); how to configure the Java application through container interfaces; changed assumptions, e.g. short-running small service vs long-running monolith, and consequences; health checks resp. liveness/readiness probes and good practices for them; delegating cross-cutting concerns, e.g. to service mesh; and so on.
      In short, there's many things you have to rethink when deploying a container image to, say, a Kubernetes cluster, as opposed to running a WAR in an application server. Just bundling your old application in a Dockerfile is, arguably, not even a good start. :'D
      That doesn't take away anything from your video, of course: as I said, it is a good, approachable intro into the "why" of containers, which is often lost in more technical contributions about "how".

  • @SosetaFurioasaJr
    @SosetaFurioasaJr 2 роки тому +2

    Dalia, thank you for a great introductory video! It helped me familiarize with Docker technology. Thumbs up!

  • @superstargazer923
    @superstargazer923 3 роки тому +14

    Great edu video. I wish jet brains offer a special edu UA-cam channel and courses. Just a suggestion

  • @danmarian3606
    @danmarian3606 3 роки тому +1

    One of the best videos on Docker... Thanks

  • @himaniamit
    @himaniamit 3 роки тому +6

    Amazing way to explain Docker. Thanks for sharing it

  • @kenduraghav
    @kenduraghav 3 роки тому +2

    Great content for the beginners who wanted to learn docker

  • @tradewithtony
    @tradewithtony 3 роки тому +2

    I am seeing this at the right time, this is so far so good very informative and timing is perfect covers all

  • @sureshbhat1891
    @sureshbhat1891 3 роки тому +2

    Great video and awesome job Dalia!!

  • @ПавелСмирнов-й7х
    @ПавелСмирнов-й7х 3 роки тому +1

    Amazing video, Dalia!
    Thank you so much

  • @codegeek8256
    @codegeek8256 3 роки тому +3

    This is useful as currently, we do not have tutorials that clearly explain Java with Docker. Keep it up. However, we would like Tutorials that are more hands-on from your side than you explaining and the code writing itself on the left. None the less thanks so much.

  • @afibrahim00
    @afibrahim00 2 роки тому +1

    Impressive, Dalia!

  • @stoychostankov886
    @stoychostankov886 3 роки тому +2

    The best explanation. Thank you

  • @luciorogeriobotelho3032
    @luciorogeriobotelho3032 Рік тому

    Great presentation. Described the important points using a simple and complete example

  • @user-cq3pb6es9h
    @user-cq3pb6es9h 2 роки тому

    Thanks a lot. The first sane description of Docker I see.

  • @KonstantinKuda
    @KonstantinKuda 3 роки тому +1

    Wow! Finally, everything is clear to me :)

  • @MrValentine710
    @MrValentine710 Рік тому

    At 14:54 it doesn't seem to work for me, when I try to build the image. Is there an updated version?

  • @ranjithkumarr5981
    @ranjithkumarr5981 2 роки тому +2

    Noble work. Many thanks

  • @gunaseelanselvam2374
    @gunaseelanselvam2374 2 роки тому +1

    Thank you, this video is helpful to start learning docker

  • @ahmedabouemira1713
    @ahmedabouemira1713 2 роки тому +1

    Thank you dalia for this great explain! this really was helpful !!

  • @Justdoit-zm8nz
    @Justdoit-zm8nz Рік тому

    Thank you for clear step by step instruction, save my assignment

  • @cagataysen31
    @cagataysen31 6 місяців тому

    14:55 When we are running the app, we need to install docker plugin first from the Intellij (at least for Community edition).

  • @rahul-java-dev
    @rahul-java-dev 2 роки тому +2

    Very very helpful....Thanks a lot ma'am.

  • @santoshsahani4364
    @santoshsahani4364 3 роки тому +5

    Thank You JetBrains for this!

  • @mariancaikovski8638
    @mariancaikovski8638 3 роки тому +1

    A well-illustrated talk to the point.

  • @GakisStylianos
    @GakisStylianos 3 роки тому +1

    Very straightforward. Good job!

  • @ankur.singhs2111
    @ankur.singhs2111 3 роки тому +1

    extreme quality content. Thanks.

  • @chessmaster856
    @chessmaster856 3 роки тому +1

    Very good video from Java perspective.

  • @kumo860
    @kumo860 3 роки тому +1

    This was incredibly helpful! Thank you!

  • @mostafahashemi9073
    @mostafahashemi9073 3 роки тому +2

    Great explanation 👍
    Thank you .

  • @codeispoetry
    @codeispoetry 3 роки тому +3

    Awesome explanation. Thank you.

  • @prajyotkarnik2039
    @prajyotkarnik2039 2 роки тому

    The best Docker video everrrrr!!!!!!!!!!!!!!!!!!!!! She is just exceptional.

  • @HtopSkills
    @HtopSkills 3 роки тому +2

    Clear explanation

  • @GunelMammadova93
    @GunelMammadova93 2 роки тому

    The best explanation so far! Thank you! :)

  • @raghavanaliassaravananm1546
    @raghavanaliassaravananm1546 3 роки тому +5

    A masterpiece !!

  • @josephrabbit
    @josephrabbit 3 роки тому +1

    Perfect tutorial, thanks !!!

  • @OMNS777
    @OMNS777 3 роки тому +1

    Thank you so much for this video!! Very informative !! Just subscribed and became a customer :). Love JetBrains!

  • @mohamedelbagoury4027
    @mohamedelbagoury4027 3 роки тому +1

    This is an excellent intro

  • @MostafaHany
    @MostafaHany 3 роки тому +1

    Brilliant tutorial

  • @petersoderstrom857
    @petersoderstrom857 3 роки тому +2

    Great video. I thank you.

  • @aniketshetye9639
    @aniketshetye9639 2 роки тому

    That's really awesome explanation , much appreciated , thanks !!!

  • @shaktisingh-lu3dm
    @shaktisingh-lu3dm 3 роки тому +1

    Very nice n helpful video for beginners.

  • @yasirchoudhary824
    @yasirchoudhary824 2 роки тому +1

    Very good explanation

  • @gopalkarane
    @gopalkarane 2 роки тому +1

    Thank you! It was very informative

  • @SimonAwaogu
    @SimonAwaogu Місяць тому

    Very explanatory . Thank you

  • @raphaelprates1500
    @raphaelprates1500 2 роки тому

    Awesome video! Thank you for sharing your knowledge

  • @huynguyentien4135
    @huynguyentien4135 3 роки тому +1

    Thanks ! you did amazing job

  • @АлександрСиньков-й5р

    Brilliant tutorial! Thanks a lot!

  • @dinobulja
    @dinobulja 2 роки тому +1

    Thank you, I like your videos. Very nice explanation.

  • @pasmimmo
    @pasmimmo 3 роки тому +1

    Super Clean and helpfull 👍

  • @dowlathbashag65
    @dowlathbashag65 3 роки тому

    Hi , facing some issue.Not able to create the image.
    C:\Docker-Java\Helloworld>docker version
    Client: Docker Engine - Community
    Cloud integration: 1.0.12
    Version: 20.10.5
    API version: 1.41
    Go version: go1.13.15
    Git commit: 55c4c88
    Built: Tue Mar 2 20:14:53 2021
    OS/Arch: windows/amd64
    Context: default
    Experimental: true
    Server: Docker Engine - Community
    Engine:
    Version: 20.10.5
    API version: 1.41 (minimum version 1.12)
    Go version: go1.13.15
    Git commit: 363e9a8
    Built: Tue Mar 2 20:15:47 2021
    OS/Arch: linux/amd64
    Experimental: false
    containerd:
    Version: 1.4.4
    GitCommit: 05f951a3781f4f2c1911b05e61c160e9c30eaa8e
    runc:
    Version: 1.0.0-rc93
    GitCommit: 12644e614e25b05da6fd08a38ffa0cfe1903fdec
    docker-init:
    Version: 0.19.0
    GitCommit: de40ad0
    C:\Docker-Java\Helloworld>docker build -t helloworld:1.0 .
    [+] Building 30.4s (3/3) FINISHED
    => [internal] load build definition from Dockerfile 0.2s
    => => transferring dockerfile: 150B 0.0s
    => [internal] load .dockerignore 0.1s
    => => transferring context: 2B 0.0s
    => ERROR [internal] load metadata for docker.io/library/openjdk:8 30.0s
    ------
    > [internal] load metadata for docker.io/library/openjdk:8:
    ------
    failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to do request: Head registry-1.docker.io/v2/library/openjdk/ma
    nifests/8: dial tcp 54.236.165.68:443: i/o timeout
    C:\Docker-Java\Helloworld>
    My Docker file :
    FROM openjdk:8
    RUN mkdir /app
    COPY out/production/Helloworld/io/dowlath /app
    WORKDIR /app
    cmd java dockerjava
    Please help on this.
    Thanks in advance.

    • @dowlathbashag65
      @dowlathbashag65 3 роки тому

      @Dalia Abo Sheasha Sorry could not get. I spelled correctly.

    • @dowlathbashag65
      @dowlathbashag65 3 роки тому

      @Dalia Abo Sheasha sure.....thnk q

    • @dowlathbashag65
      @dowlathbashag65 3 роки тому

      sorry to disturb you.....i took the code from your repo. but mine java version is jdk 1.8.
      So Docker file i changed the version :
      # Use the OpenJDK 11 image as the base image
      FROM openjdk:8
      # Create a new app directory for my application files
      RUN mkdir /app
      # Copy the app files from host machine to image filesystem
      COPY out/production/HelloWorldDocker/ /app
      # Set the directory for executing future commands
      WORKDIR /app
      # Run the Main class
      CMD java Main
      Still getting the same problem.
      Microsoft Windows [Version 10.0.19041.928]
      (c) Microsoft Corporation. All rights reserved.
      C:\Docker-Java\HelloWorldDocker>docker build -t hello-world:1.0 .
      'docker' is not recognized as an internal or external command,
      operable program or batch file.
      C:\Docker-Java\HelloWorldDocker>docker version
      'docker' is not recognized as an internal or external command,
      operable program or batch file.
      C:\Docker-Java\HelloWorldDocker>docker version
      Client:
      Cloud integration: 1.0.14
      Version: 20.10.6
      API version: 1.41
      Go version: go1.16.3
      Git commit: 370c289
      Built: Fri Apr 9 22:49:36 2021
      OS/Arch: windows/amd64
      Context: default
      Experimental: true
      Server: Docker Engine - Community
      Engine:
      Version: 20.10.6
      API version: 1.41 (minimum version 1.12)
      Go version: go1.13.15
      Git commit: 8728dd2
      Built: Fri Apr 9 22:44:56 2021
      OS/Arch: linux/amd64
      Experimental: false
      containerd:
      Version: 1.4.4
      GitCommit: 05f951a3781f4f2c1911b05e61c160e9c30eaa8e
      runc:
      Version: 1.0.0-rc93
      GitCommit: 12644e614e25b05da6fd08a38ffa0cfe1903fdec
      docker-init:
      Version: 0.19.0
      GitCommit: de40ad0
      C:\Docker-Java\HelloWorldDocker>docker build -t hello-world:1.0 .
      [+] Building 5.4s (8/9)
      => [internal] load build definition from Dockerfile 0.1s
      => => transferring dockerfile: 371B 0.0s
      => [internal] load .dockerignore 0.1s
      => => transferring context: 2B 0.0s
      => [internal] load metadata for docker.io/library/openjdk:8 5.1s
      => [auth] library/openjdk:pull token for registry-1.docker.io 0.0s
      => [internal] load build context 0.1s
      => => transferring context: 2B 0.0s
      => CANCELED [1/4] FROM docker.io/library/openjdk:8@sha256:96c15b4ddc92615cc8ab30b60deba963232de521784661e1ab886b64a35a0149 0.1s
      => => resolve docker.io/library/openjdk:8@sha256:96c15b4ddc92615cc8ab30b60deba963232de521784661e1ab886b64a35a0149 0.0s
      => => sha256:96c15b4ddc92615cc8ab30b60deba963232de521784661e1ab886b64a35a0149 1.04kB / 1.04kB 0.0s
      => => sha256:48ff6191b3690194799579907f169ee28929cb4f04b391957232b69b3a139abb 7.83kB / 7.83kB 0.0s
      => => sha256:e35928794b16a9ae525cb294eadb94d1056f7ee4b0b2b204720233cda9d7ca7b 1.79kB / 1.79kB 0.0s
      => CACHED [2/4] RUN mkdir /app 0.0s
      => ERROR [3/4] COPY out/production/HelloWorldDocker/ /app 0.0s
      ------
      > [3/4] COPY out/production/HelloWorldDocker/ /app:
      ------
      failed to compute cache key: failed to walk /var/lib/docker/tmp/buildkit-mount144797670/out/production: lstat /var/lib/docker/tmp/buildkit-mount144797670/o
      ut/production: no such file or directory
      C:\Docker-Java\HelloWorldDocker>

  • @VinayakKarigar
    @VinayakKarigar 3 роки тому +1

    Very informative. Thank you so much 🙏🙏

  • @mwalilitobias9679
    @mwalilitobias9679 3 роки тому +1

    Very Nice. Great content.

  • @stuetz
    @stuetz 3 роки тому +2

    Really like it. Thank you.

  • @hyperborean72
    @hyperborean72 3 роки тому +1

    excellent video. thank you so much

  • @hectorruiz8957
    @hectorruiz8957 2 роки тому

    Does anyone know how to create a Dockerfile with Maven through IntelliJ?

  • @rayshadow6796
    @rayshadow6796 2 роки тому

    How do you create docker container that runs a java swing GUI app? Would Be a great video!

  • @whitefang1987
    @whitefang1987 3 роки тому +1

    Good video. For the building step once you made changes, I thought it was good that you built locally to show the updated files, but think it would have been better if you had gone into detail that you could update the docker file to add a build step for you. So you can make sure the code builds from within the container as well not just it builds on my box, which would help illustrate that someone else could build & run the application.

  • @saadthayab
    @saadthayab 2 роки тому +2

    very clear thanks a lot.

  • @ayuobmousa6589
    @ayuobmousa6589 2 роки тому

    بالعربي عظيم جدا ...داليا العظيمة ⚘👑

  • @backtoGodhead0
    @backtoGodhead0 3 роки тому +2

    so cool thank you!

  • @СергейВасильев-р3и8е
    @СергейВасильев-р3и8е 9 місяців тому

    Error: Could not find or load main class Main
    Caused by: java.lang.ClassNotFoundException: Main 😢

  • @ArtemidorosEuthymius
    @ArtemidorosEuthymius 5 місяців тому

    Your example doesn't work if you omit the compilation step of *.java files. How is your project working without this crucial step?

  • @jeick3645
    @jeick3645 Рік тому

    this video is perfect in everything

  • @ronaldfungss
    @ronaldfungss 2 роки тому

    Nicely done. Thanks

  • @Mexicanboy07thst1
    @Mexicanboy07thst1 Рік тому

    Can you do a tutorial on this using Maven

  • @reshid.seyidli
    @reshid.seyidli 2 роки тому

    best explanation ever !!!

  • @makshrech1263
    @makshrech1263 2 роки тому

    please, mention there are different wrappers. Spwnt 2 hours useless until found official doc with sprint example

  • @SamSepiol127
    @SamSepiol127 Рік тому

    I get this error and I actually don't know why
    "Error: LinkageError occurred while loading main class Main
    java.lang.UnsupportedClassVersionError: Main has been compiled by a more recent versio
    n of the Java Runtime (class file version 63.0), this version of the Java Runtime only recogni
    zes class file versions up to 62.0"
    anyone knows? I try change different java version or change "FROM openjdk: latest" but still the same

    • @ligmagrinder9775
      @ligmagrinder9775 Рік тому +1

      your project version is higher than version you added do docker file

    • @SamSepiol127
      @SamSepiol127 Рік тому

      thankyou! I'll give it a try@@ligmagrinder9775

  • @getsunova8894
    @getsunova8894 Рік тому

    Thx. I have a better understanding of docker now.

  • @ArtemidorosEuthymius
    @ArtemidorosEuthymius 5 місяців тому

    7:01 Isn't Docker an OS-level virtualization, i.e. it packages operating systems.

  • @ryansossou646
    @ryansossou646 3 роки тому +1

    i was looking for tutorial like that to start using docker and java , thanks
    and she got Cardi b voice by the way haha

  • @patiencemabasa6927
    @patiencemabasa6927 2 роки тому

    Thank you, i understand docker now.

  • @superstargazer923
    @superstargazer923 3 роки тому +1

    Please offer online courses. Your content is sooooo goooood!

  • @enimal524
    @enimal524 2 роки тому

    Excellent video, but at the end you should said that we had to stop de Containers, because they run indefinitely

  • @ucheyikenna9769
    @ucheyikenna9769 2 роки тому

    this video cleared a lot of stuffed air for me, thank you...
    trying to run my container after I have built it, I get this [Error: Could not find or load main class EazyBankApplication] I need help on this

  • @rroy2812
    @rroy2812 2 роки тому +1

    just excellent.

  • @yannickmussche5068
    @yannickmussche5068 2 роки тому

    what about .. Maven .. spring-boot:build-image?

  • @ramabookstroremalang9131
    @ramabookstroremalang9131 2 роки тому

    I love JetBrains so much 💯💯

  • @dirkus3722
    @dirkus3722 3 роки тому +1

    Thank you!

  • @alexandersemigrodskikh8400
    @alexandersemigrodskikh8400 3 роки тому +2

    Good!

  • @Praveen_Chathukutty
    @Praveen_Chathukutty 4 місяці тому

    Dalia the wide eyed girl. Superb intro to the Docker.

  • @learnthebasics9775
    @learnthebasics9775 2 роки тому

    The best!!!!🤩

  • @akifzaman7280
    @akifzaman7280 3 роки тому

    I ran into some issues, specially when it comes to running the containers. I believe the following points will help others following this tutorial.
    If your Main java class is within a package, make sure that within the DockerFile, you include completely qualified java-package + java-class name.
    I had to do...CMD java com.test.docker Main (as my Main class was within the com.test.docker package).
    Also, when executing the image, I had to include version numbers. So docker run :

    • @maasmans
      @maasmans 2 роки тому

      I think I have this issue but your explaination isn't clear to me about where to put extended package information.

  • @nyancat370
    @nyancat370 3 роки тому +1

    Amazing! Thank you so much!

  • @chiragrathod4757
    @chiragrathod4757 3 роки тому +2

    Great

  • @niharr7
    @niharr7 3 роки тому

    Nice tutorial.You did not explain how to send this my coworkers ?