#1 - Introduction and Installation of Docker (2024 Edition⚡)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi guys my name is Karthik and I from a automation.com welcome to my all new course understanding Docker and in this leure we'll be talking about an introduction and insulation of Docker well I have already spoke about Docker almost like 7 years before while the docker was kind of in infancy I have covered quite a lot of details on the docker by then as well like what is containers what is image and how to do insulations and all those details and also Docker compos and stuff I also talked about the docker for Windows which is the version of docker that you can run the docker with the windows container images so I have already spoke about that as well and that series is also available in YouTube for you right now and also it's available in Udi and once again even though the core concept of Docker Remains the Same the user interface of Docker desktop and the way you can use Docker and the landscape that you can use the docker has entirely changed and in fact right now Docker supports quite a lot of different architectures of processors to execute so we'll be talking about all these detail in this new series in 2024 for and understand how things have improved in Docker and also we'll understand the core concept of Docker once again well as that said what is this Docker Docker is an open platform for developing shipping and running applications and Docker enables you to separate your application from your infrastructure so that you can deliver software quickly it utilizes containerization to package application and their dependencies into container which are lightweight portable and efficient I know if you are new to Docker these sentences doesn't make any sense but the core idea of the docker is that Docker is an open platform help you to run and ship the application and even build the application using this Docker container just keep this in mind and most importantly Docker containers can run consistently across various environment such as development testing and production ensuring that the application behaves the same regardless of where they are deployed and you might have heard this analogy many times while you work with Developers that the application works better in their machine and not in the testers machine those problems can be completely avoided using Docker because right now with Docker the same application with all the dependencies can be shipped into testers machine and you can run there and the same thing you can use it for staging pre-prod and production environment without any problem because that's what Docker is and that is the power of Docker just for now consider Docker container as a portable machine or a virtual machine which runs your application with all its dependencies that's what is Docker container is all about in an very very high level well as that said in this entire course we are going to be covering quite a lot of important concepts of Docker something like Docker images containers Docker files Docker compost desktop Hub swam registry online builds and stuff so this course is going to have a lot of detail that you really require for getting started with Docker and using it for your application development as well as for testing the application well as that said we'll first focus on the installation of the docker and Docker as I told you in 2024 it has evolved so much you can run Docker desktop not only in Windows machine but you can run in Linux as well as in Mac operating system way back like 7 years before you can just use Docker desktops just in the Windows machine not in Linux machine or the Mac operating system it was quite harder to do that but right now you can just do everything in Windows Mac and Linux operating system and in fact it also supports 64-bit 32-bit and arm architecture processors without any problem so the docker desktop also runs in Windows arm operating system Mac arm operating system as well as the Linux operating system without any problem that is the another major benefit so if you have an apple M1 processor chip then you can run it also if you have a Snapdragon qualcom aite X processor then you can also run the docker desktop without any problem so those things were not there before and in fact the arm architecture itself was not there in 7 years before but all these are right now being supported in Docker and there are many ways that we can use Docker not just by running with the docker desktop alone you can use Docker to run from the docker desktop using Docker extension in vs code and also using multipass of canical so all these are the ways that you can use Docker to spin up the containers from an image and run your application inside the container and see how it works so these are the ways that you can use the docker but the one that we are going to be mostly focusing on is going to be the docker desktop and the docker extension in vs code and this course will be using Windows operating system as well as Mac operating system interchangeably and the Mac which I have is going to be the M1 processor chip which is going to be an arm processor so we are going to see how the same Docker desktop can be used to run in different architectures and different operating system without any problem and you will see that is zero difference both those ecosystems and infrastructures so let's see how we can start the installation process over here so I have my windows 11 operating system over here as I told you we'll be switching pretty quickly to the Mac operating system but I will show you the installation part of Docker desktop in the Windows operating system so all you have to do it is just Google it and search for Docker desktop so just go and search for Docker desktop and download and you will see that there is this Docker desktop link and you can just go ahead and download it from here and you will see that the doer. has got quite a lot of details over here and also they will show you what is the power of the docker desktops and all those details so first go and download the docker for Windows and you also see that it's going to show you Docker for Mac Intel chip and apple silicon chip and download for Linux operating system so we are going to be using the Windows operating system this time so I'm just going to download it and once the downloading is done I'm going to go ahead and install the docker desktop over here you'll also notice that while you run the docker desktop in Windows operating system you may need to install the WSL over here as you can see that you can use WSL 2 instead of the hyperv and hyperv is a hypervisor which is going to run the Mobi app Linux before like 7 years before and there have been so many transition happened after then and now there is a wsl2 or Windows subsystem for Linux 2 is available in Windows 10 and 11 operating system so you can also use that so if you have already enabl wsl2 you can easily start using it and I have already enabled the wsl2 in my Windows machine that's the reason why I can just straight away use it if you have not enabled it you can also Google search and see how you can enable the wsl2 in your Windows machine it is quite straightforward and once you have the wsl2 you can also install the you been through distro from here so you can just search for the App Store and then go ahead and search for entu from here and then you can install it so that it can just install it for you so if you just go and search for ubin to over here this is the ubu app and you can see that this is going to be installing it for you and you can use this for your WSL as you can see it is mentioned over here so that's the thing that you have to do and hopefully it is all there in my machine already already but if you don't really have it already you just have to do that one additional step while you install the docker desktop in your Windows machine but if you're going to be using the docker desktop in Linux operating system or in Mac operating system you don't really have to do all these things because the docker desktop is going to use the Linux kernel directly over there and you may be asking hey Karthik Mac is not Linux operating system but once again it is going to have a Linux operating system for you within the docker desktop which is going to help you run all these things for you and Linux operating system by default the host itself is Linux so there is no special Linux needed over there so I will let this whole installation to happen and we see once the installation is fully done as you can see that the installation is fully done so I'm just going to close this over here and now let's try to open the docker and see if the docker desktop just launches up so I have the docker desktop over here and you will notice that the docker desktop is going to come up over here for the first time with some subscription service agreement and most importantly you should notice here that if you're going to be using Docker desktop in your company which has more than 250 employees or more than 10 millions in annual revenue then you need to use the paid subscription and if you are not any of these like me then you are free to use this whole doer to stuff without paying even a single penny to them so I'm just going to go ahead and accept it and you'll notice that you'll be welcomed with the uh Docker desktop to sign up for the subscription model well I'm going to show you the docker Hub later in this particular course but for now I'm just going to continue without signing in and I'm just going to say a full stack developer and I'm just going to do before the hobby project and I'm going to hit continue There we go so that's the docker desktop as you can see over here and there are so many things you can see in the docker desktop for the first time you'll notice that there is going to be a containers tab there is going to be an image tab there are volume Tab and builds tab Docker Scout and extensions so these are quite new and we'll see how we can use all these things in the docker desktop from our next lecture while we start creating an image and using it to run as an container you also notice that there is a setting tab well I was just talking about the wsl2 for you and in the general tab you'll notice that if you scroll down you will see that use the wsl2 based engine and it is going to be improving the performance than the hyperv back end that's what I'm currently using it over here as I told you I have already installed W Toth in my machine that's the reason why Docker has not asked anything for me to install wsl2 but if you don't really have it then you got to be installing it for your machine and it's all there that's the reason why it's all showing up for me so that is the only thing that you need to do as an extra part in the instulation in Docker desktop now next lecture we'll see how we can learn even further Concepts like container and images
Info
Channel: Execute Automation
Views: 676
Rating: undefined out of 5
Keywords: Udemy, course, executeautomation, testing, basics, introduction, installation, docker, docker desktop, windows 11, Windows, Docker hub, docker container, docker images
Id: xtjPGzSYoTc
Channel Id: undefined
Length: 10min 26sec (626 seconds)
Published: Mon Jun 24 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.