Intro to Docker [with Java Examples]

  Рет қаралды 71,699

JetBrains

JetBrains

Күн бұрын

Пікірлер: 151
@alexpadula7859
@alexpadula7859 2 жыл бұрын
Years I avoided Docker, now I'm obsessed, thank you.
@tjohnsonabraham
@tjohnsonabraham 3 жыл бұрын
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.
@Keepfaith101
@Keepfaith101 3 ай бұрын
fact
@MariosMartiopoulos
@MariosMartiopoulos 3 жыл бұрын
I never watch videos in English, but I can listen to Dalia for hours. Please give us more videos with her.
@levinie5081
@levinie5081 3 жыл бұрын
even better than docker official tutorial. thank you
@JetBrainsTV
@JetBrainsTV 3 жыл бұрын
Wow, thanks!
@skverskk
@skverskk 3 жыл бұрын
Positively one of the best introductory tutorials on Docker out there on KZbin.
@hyperborean72
@hyperborean72 Жыл бұрын
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
@JetBrainsTV
@JetBrainsTV Жыл бұрын
Wow, thanks!
@samofohachinweuba1641
@samofohachinweuba1641 3 ай бұрын
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
@sumitpatnaik7057
@sumitpatnaik7057 3 жыл бұрын
Jet brains should start education channel for such great content
@JetBrainsTV
@JetBrainsTV 3 жыл бұрын
Thank you! Which other types of content would you envision on such a channel?
@sumitpatnaik7057
@sumitpatnaik7057 3 жыл бұрын
@@JetBrainsTV project based content would be great
@superstargazer923
@superstargazer923 3 жыл бұрын
@@JetBrainsTV I would love having a app development video with jetbrain editor
@moofymoo
@moofymoo 3 жыл бұрын
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.
@superstargazer923
@superstargazer923 3 жыл бұрын
Great edu video. I wish jet brains offer a special edu KZbin channel and courses. Just a suggestion
@OmoruyiOmofonmwan
@OmoruyiOmofonmwan 3 жыл бұрын
Jesus thank you so much. This is the best video yet about Docker.
@azatburkhanov1397
@azatburkhanov1397 3 жыл бұрын
Best explanation of Docker Intro concepts I've even seen on web
@dimitriosmenounos1009
@dimitriosmenounos1009 3 жыл бұрын
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.
@yogeshmujumdar
@yogeshmujumdar 2 жыл бұрын
Loved the way you speak. Crisp, slow and with full attention. Even a kindergarten student will be able to follow! Thanks!
@manee427
@manee427 3 жыл бұрын
The bset explanation about docker image creation. Perfect
@prajyotkarnik2039
@prajyotkarnik2039 2 жыл бұрын
The best Docker video everrrrr!!!!!!!!!!!!!!!!!!!!! She is just exceptional.
@danmarian3606
@danmarian3606 2 жыл бұрын
One of the best videos on Docker... Thanks
@codegeek8256
@codegeek8256 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.
@pahan35skype
@pahan35skype 3 жыл бұрын
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!
@JetBrainsTV
@JetBrainsTV 3 жыл бұрын
Glad you liked it!
@raphaelreitzig5984
@raphaelreitzig5984 3 жыл бұрын
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 жыл бұрын
@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".
@kenduraghav
@kenduraghav 3 жыл бұрын
Great content for the beginners who wanted to learn docker
@afibrahim00
@afibrahim00 2 жыл бұрын
Impressive, Dalia!
@SosetaFurioasaJr
@SosetaFurioasaJr 2 жыл бұрын
Dalia, thank you for a great introductory video! It helped me familiarize with Docker technology. Thumbs up!
@stoychostankov886
@stoychostankov886 2 жыл бұрын
The best explanation. Thank you
@himaniamit
@himaniamit 3 жыл бұрын
Amazing way to explain Docker. Thanks for sharing it
@tradewithtony
@tradewithtony 3 жыл бұрын
I am seeing this at the right time, this is so far so good very informative and timing is perfect covers all
@ПавелСмирнов-й7х
@ПавелСмирнов-й7х 3 жыл бұрын
Amazing video, Dalia! Thank you so much
@gunaseelanselvam2374
@gunaseelanselvam2374 2 жыл бұрын
Thank you, this video is helpful to start learning docker
@user-cq3pb6es9h
@user-cq3pb6es9h 2 жыл бұрын
Thanks a lot. The first sane description of Docker I see.
@ranjithkumarr5981
@ranjithkumarr5981 2 жыл бұрын
Noble work. Many thanks
@rahul-java-dev
@rahul-java-dev 2 жыл бұрын
Very very helpful....Thanks a lot ma'am.
@cagataysen31
@cagataysen31 4 ай бұрын
14:55 When we are running the app, we need to install docker plugin first from the Intellij (at least for Community edition).
@chessmaster856
@chessmaster856 2 жыл бұрын
Very good video from Java perspective.
@santoshsahani4364
@santoshsahani4364 3 жыл бұрын
Thank You JetBrains for this!
@JetBrainsTV
@JetBrainsTV 3 жыл бұрын
You bet!
@ayuobmousa6589
@ayuobmousa6589 2 жыл бұрын
بالعربي عظيم جدا ...داليا العظيمة ⚘👑
@sureshbhat1891
@sureshbhat1891 3 жыл бұрын
Great video and awesome job Dalia!!
@JetBrainsTV
@JetBrainsTV 3 жыл бұрын
Thanks for the visit
@mariancaikovski8638
@mariancaikovski8638 3 жыл бұрын
A well-illustrated talk to the point.
@KonstantinKuda
@KonstantinKuda 3 жыл бұрын
Wow! Finally, everything is clear to me :)
@GakisStylianos
@GakisStylianos 3 жыл бұрын
Very straightforward. Good job!
@luciorogeriobotelho3032
@luciorogeriobotelho3032 Жыл бұрын
Great presentation. Described the important points using a simple and complete example
@ankur.singhs2111
@ankur.singhs2111 3 жыл бұрын
extreme quality content. Thanks.
@codeispoetry
@codeispoetry 3 жыл бұрын
Awesome explanation. Thank you.
@ahmedabouemira1713
@ahmedabouemira1713 2 жыл бұрын
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
@kumo860
@kumo860 2 жыл бұрын
This was incredibly helpful! Thank you!
@mostafahashemi9073
@mostafahashemi9073 3 жыл бұрын
Great explanation 👍 Thank you .
@mohamedelbagoury4027
@mohamedelbagoury4027 3 жыл бұрын
This is an excellent intro
@HtopSkills
@HtopSkills 3 жыл бұрын
Clear explanation
@whitefang1987
@whitefang1987 3 жыл бұрын
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.
@raghavanaliassaravananm1546
@raghavanaliassaravananm1546 3 жыл бұрын
A masterpiece !!
@MrValentine710
@MrValentine710 11 ай бұрын
At 14:54 it doesn't seem to work for me, when I try to build the image. Is there an updated version?
@yasirchoudhary824
@yasirchoudhary824 2 жыл бұрын
Very good explanation
@GunelMammadova93
@GunelMammadova93 2 жыл бұрын
The best explanation so far! Thank you! :)
@raphaelprates1500
@raphaelprates1500 2 жыл бұрын
Awesome video! Thank you for sharing your knowledge
@VinayakKarigar
@VinayakKarigar 3 жыл бұрын
Very informative. Thank you so much 🙏🙏
@aniketshetye9639
@aniketshetye9639 2 жыл бұрын
That's really awesome explanation , much appreciated , thanks !!!
@shaktisingh-lu3dm
@shaktisingh-lu3dm 3 жыл бұрын
Very nice n helpful video for beginners.
@josephrabbit
@josephrabbit 3 жыл бұрын
Perfect tutorial, thanks !!!
@jeick3645
@jeick3645 Жыл бұрын
this video is perfect in everything
@АлександрСиньков-й5р
@АлександрСиньков-й5р Жыл бұрын
Brilliant tutorial! Thanks a lot!
@MostafaHany
@MostafaHany 3 жыл бұрын
Brilliant tutorial
@superstargazer923
@superstargazer923 3 жыл бұрын
Please offer online courses. Your content is sooooo goooood!
@mwalilitobias9679
@mwalilitobias9679 3 жыл бұрын
Very Nice. Great content.
@Praveen_Chathukutty
@Praveen_Chathukutty 2 ай бұрын
Dalia the wide eyed girl. Superb intro to the Docker.
@ArtemidorosEuthymius
@ArtemidorosEuthymius 3 ай бұрын
Your example doesn't work if you omit the compilation step of *.java files. How is your project working without this crucial step?
@petersoderstrom857
@petersoderstrom857 2 жыл бұрын
Great video. I thank you.
@rayshadow6796
@rayshadow6796 2 жыл бұрын
How do you create docker container that runs a java swing GUI app? Would Be a great video!
@dinobulja
@dinobulja 2 жыл бұрын
Thank you, I like your videos. Very nice explanation.
@pasmimmo
@pasmimmo 3 жыл бұрын
Super Clean and helpfull 👍
@stuetz
@stuetz 3 жыл бұрын
Really like it. Thank you.
@gopalkarane
@gopalkarane 2 жыл бұрын
Thank you! It was very informative
@JetBrainsTV
@JetBrainsTV 2 жыл бұрын
You're welcome!
@huynguyentien4135
@huynguyentien4135 3 жыл бұрын
Thanks ! you did amazing job
@reshid.seyidli
@reshid.seyidli 2 жыл бұрын
best explanation ever !!!
@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.
@ramabookstroremalang9131
@ramabookstroremalang9131 2 жыл бұрын
I love JetBrains so much 💯💯
@makshrech1263
@makshrech1263 2 жыл бұрын
please, mention there are different wrappers. Spwnt 2 hours useless until found official doc with sprint example
@saadthayab
@saadthayab 2 жыл бұрын
very clear thanks a lot.
@getsunova8894
@getsunova8894 Жыл бұрын
Thx. I have a better understanding of docker now.
@Mexicanboy07thst1
@Mexicanboy07thst1 Жыл бұрын
Can you do a tutorial on this using Maven
@ronaldfungss
@ronaldfungss 2 жыл бұрын
Nicely done. Thanks
@rabinawal5375
@rabinawal5375 2 жыл бұрын
If anyone gets error following this tutorial Error: Could not find or load main class Main Solution: Change CMD java Main to CMD java com.example.Main Replace com.example according to your package.
@hyperborean72
@hyperborean72 3 жыл бұрын
excellent video. thank you so much
@JetBrainsTV
@JetBrainsTV 3 жыл бұрын
You are welcome!
@OMNS777
@OMNS777 3 жыл бұрын
Thank you so much for this video!! Very informative !! Just subscribed and became a customer :). Love JetBrains!
@JetBrainsTV
@JetBrainsTV 3 жыл бұрын
Awesome! Thank you!
@enimal524
@enimal524 Жыл бұрын
Excellent video, but at the end you should said that we had to stop de Containers, because they run indefinitely
@hectorruiz8957
@hectorruiz8957 2 жыл бұрын
Does anyone know how to create a Dockerfile with Maven through IntelliJ?
@backtoGodhead0
@backtoGodhead0 3 жыл бұрын
so cool thank you!
@niharr7
@niharr7 3 жыл бұрын
Nice tutorial.You did not explain how to send this my coworkers ?
@yannickmussche5068
@yannickmussche5068 2 жыл бұрын
what about .. Maven .. spring-boot:build-image?
@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
@ArtemidorosEuthymius
@ArtemidorosEuthymius 3 ай бұрын
7:01 Isn't Docker an OS-level virtualization, i.e. it packages operating systems.
@patiencemabasa6927
@patiencemabasa6927 2 жыл бұрын
Thank you, i understand docker now.
@JetBrainsTV
@JetBrainsTV 2 жыл бұрын
Great!
@СергейВасильев-р3и8е
@СергейВасильев-р3и8е 7 ай бұрын
Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main 😢
@michaelwatts8367
@michaelwatts8367 3 жыл бұрын
Nice, clear presentation, thanks. Although I think it cruel to put cats and elephants in shipping containers.
@ryansossou646
@ryansossou646 3 жыл бұрын
i was looking for tutorial like that to start using docker and java , thanks and she got Cardi b voice by the way haha
@rroy2812
@rroy2812 Жыл бұрын
just excellent.
@learnthebasics9775
@learnthebasics9775 2 жыл бұрын
The best!!!!🤩
@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>
@alexandersemigrodskikh8400
@alexandersemigrodskikh8400 3 жыл бұрын
Good!
@walidcoco
@walidcoco 7 ай бұрын
tellement facile apres avoir vu ca, merci mam'zelle
@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 Жыл бұрын
your project version is higher than version you added do docker file
@SamSepiol127
@SamSepiol127 Жыл бұрын
thankyou! I'll give it a try@@ligmagrinder9775
@orhn
@orhn 3 жыл бұрын
Watching in 1.5x speed helps
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 261 М.
Docker + Spring Boot - what you should know
21:59
Docker
Рет қаралды 15 М.
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 137 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 95 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 9 МЛН
Docker in IntelliJ IDEA
17:36
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 143 М.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,8 МЛН
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 1 МЛН
MongoDB with Docker in IntelliJ IDEA
34:43
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 22 М.
Docker Tutorial for Beginners [FULL COURSE in 3 Hours]
2:46:15
TechWorld with Nana
Рет қаралды 5 МЛН
Docker Tutorial For Beginners - How To Containerize Python Applications
22:17
Never install locally
5:45
Coderized
Рет қаралды 1,9 МЛН
Deploy with Docker - Step-by-step Tutorial
20:20
Dave Gray
Рет қаралды 24 М.
Docker Tutorial for Beginners
50:38
mCoding
Рет қаралды 70 М.
Learn Docker in 7 Easy Steps - Full Beginner's Tutorial
11:02
Fireship
Рет қаралды 2 МЛН
Это самый популярный гаджет в мире
0:20
Мучительная смерть  HUAWEI Mate XT
0:58
Кик Обзор
Рет қаралды 4,2 МЛН