Installation of Docker Desktop in Windows 11 Operating System

미연

·

2022. 4. 14. 12:13

welcome to the learn computer technology this is the part 2 of docker installation tutorial series in this tutorial we will learn about creation of docker account online download of docker desktop for windows os prerequisite hardware requirement prerequisite enable features of windows 11 os installation of docker desktop basic operation in docker interface and powershell installation of pi hole in docker desktop let's start to create docker desktop account visit to the docker's website click the get started and sign in to create a new account create a docker id and sign upnow it asking to verify your email so check your email and please verify it download the docker desktop application for windows while downloading is in progress let's check the configuration of windows 11 are enabled open task manger and go to performance tab docheck the hardware requirementscheck ram as four gigabytescheck the cpu virtualization is enabled in bios open windows features on or off control panel and check windows subsystem for linux is enabled check virtual machine platform is enabled check hyper-v is enabled check windows hypervisor platform is enabled open developer settings in windows and check that the developer mode is enabled or not enable the developer mode navigate to location where docker desktop has been downloaded right-click on it and run as administrator it will again download the packages required for installation it will install docker desktop automatically and come to end screen with installation succeeded during this process a configuration window is on your screen and installation is in progress donow installation is succeeded to complete the installation click close and log out to start docker services it is recommended to restart your computer after restart go to docker icon on your desktop right-click and select run as administrator now docker window opens on your screen sign in here with the docker id created in previous steps enter docker id and password and click sign in after login a pop-up window appears for user account changes click yes accept the service agreement here you please note that if you have previously installed ubuntu as app on your system please remove it because sometimes it will block docker desktop to run smoothly please check in apps and features and uninstall it now there is an alert regarding docker desktop service start click start to start the docker desktop service a net command window appears click yes docker desktop is starting click start to follow automated guided wizard to install docker tutorial first step is to clone a repository here's the command for git repository clone click on the code button it will automatically run on write console after the command has been completed click next step second step is to build the image here is the command for build image of downloaded git repository click on the code button it will automatically run on write console and build image soclick next step third step is to run your first container here is the command for first container run at port 80.click on the code button it will automatically run on write console and run an instance of build image an alert has appeared to allow access to windows firewall click allow access let's browse it in browser using ip address let's quickly navigate to tutorial instance running after that move to docker wizard and click next step for the fourth step fourth step is to save and share your image here is the command to save and share the build image to docker hub repository upload click on the code button it will automatically run on write console and upload the build image to docker hub repository now wizard is completed click done here is a message that you ran your first container image let's we check the uploaded docker image at docker hub account here it is showing in the local and remote repositories let's run pi hole instance to our docker desktop search pi hole in docker hub copy docker pull command docker pull pi hole to run it in powershell 3. run this command in powershell it will download complete image of pi hole to local docker desktop delete docker tutorial running instance because it is running at port 80.click delete and select removenow here the download of pihole image has completed run pi hole instance using command docker run dp 80 to 80 pi hole pi hole let's browse pi hole instance in browser using ip address click to go to admin panel of pihole high hole login screen will appear let us quickly navigate to pi hole instance running inside docker open pi hole console from docker dashboard and change its password using command pi hole app assign new passwordconfirm new passwordnew password set successfully then exit pi hole console log in to pi hole dashboard now you can navigate in dashboard of pihole soto delete this pi hole instance from container click on delete and select remove to run again the docker tutorial instance use and run the command docker run dp 80-80 docker 101 tutorial again browse it in browser using ip address now the tutorial instance is opened again here now we have done with this part of tutorial this is the beginning of your docker journey we will meet again in next part of this series hope you have learned and understand the topic please like share subscribe and express your view and comment for our motivation thanks for watching you