How to Install & Configure Rancher-Desktop on Windows (How to Run Docker & Kubernetes on Windows)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
foreign my name is Malik nejad and today in this video I'm gonna install Rancher desktop as a solution for building and running container images and also running kubernetes cluster locally on Windows operating system foreign let's start by Googling this subject how to install launcher desktop on Windows by click on search from the results click on this one this is the official website of Rancher the stone it's going down and as you see here for installing on Windows we need some requirements as you see here launcher the stop require the following on Windows Windows 10 build 1909 or higher let's check our windows from here check win version as you see here our build version is 19045 so it's higher than the requirement so this is okay in the second line it is written running on a machine with virtualization capabilities normally the recent computer have these capabilities and you can enable it in BIOS and the third one is persistent internet connection that is okay so the next requirement launcher desktop required windows subsystem for Linux on Windows if you don't have already installed on your computer machine don't need to install it manually but if you have installed it before you can integrate it with launcher desktop also recommended to have a minimum 8 gigabyte of memory and four CPU core one of the other important requirements that we need on our computer is WSL version 2. normally by default or Windows has WSL version one and we should update that to version 2. let's install WSL version 2. so I Google this one upgrade WSL version 2 and from the result I click on this one and from here at first we should enable windows subsystem on Linux so I will follow these steps copy this command for enabling WSL I opened Powershell as admin privilege and copy the command here okay down let's back to documentation okay for running wsl2 we need Windows version upper than 1903 that I showed you before we have the latest one so we need to enable virtual machine feature copy this one back to command and run this one good it's complete successfully let's continue on documentation step 4 download the Linux kernel update package by click on this one it's downloaded let's check it here double click on it and done the next step we should set wsl2 as a default version so copy this command back to Powershell terminal run this command good it's done let's continue here if we need to install one of the supported Linux distribution by windows we can install it manually but as you saw in launcher documentation Windows sub Linux will automatically install as a part of launcher and we no need manually install it but if we need to download and install it manually we can do it from the Microsoft store we can download it here let's show you how just going to Microsoft store and from Microsoft store for example type Ubuntu and the latest one is version 22 and we can get and install it on our computer but we leave it as is and that launcher install it for ourselves let's back to our story and going to the launcher desktop website from the main page you can download it for Windows as you see here there is a version for another operating system like mac and also Linux but here we're gonna use it for Windows so by click on it and it will start to download as you see I have downloaded it before and that will click on it to be installed I agree I'm going to be installed as you see Rancher the stop installed on my computer let's double click and run it as you see here it is installing the k3s it's related to kubernetes and other services and going to start WSL environment it takes sometimes to bring up all services now starting kubernetes all services are up let's check images so all the images that using for kubernetes are here from taskbar from here right click on launcher desktop and click on references from here click on WSL as you see we don't see any name of Linux distribution that we supposed to be installed here it seems launcher didn't install any of Linux Distribution on our computer and we should do it manually let's cancel this one cancel this one open browser and back here from the Microsoft store we can download the desired Linux distribution that we want so let's open Microsoft store and from the search just type Ubuntu select the latest one and get it it's going to download it and install it on our computer it's ready let's open it as you see here in installing okay so here ask for username I give it a username and a password so it is ready after install your Linux distribution it is better to close it and also close the launcher desktop and from here close it completely and rerun launcher desktop let's click here and from WSL as you see the Ubuntu is automatically selected and from the container engine we check container engine b as Docker d cancel now open the Powershell open it as administrator from here type wsl-l-v as you see launcher desktop is running under the WSL version 2 and Ubuntu 22 also running as as under WSL version 2. let's back to Ubuntu terminal type Ubuntu open Terminal here let's figure a screen here type Docker as you see here Docker has not been installed so let's go and install it by running this command before installing Docker let's update the packages okay now let's install docker yes that's from docker version the latest version was installed as you see here it seems there is permission denied let's run Docker PS yes my username has no permission to run Docker Services if I switch to root and run Docker PS it works all the containers you see here related to launcher desktop kubernetes so let's exit from the root and check how we can fix this permission let's clean the screen again Docker PS and copy this one and Google it to find a solution I search this error with adding WSL at the first of it just search for this one and from the result I select on this one and at the end of this page there is some step that will solve our issue so we need to run this command one by one in Linux terminal let's back here okay and the last one after running all the commands it is better closed a terminal and bring up it again and run Docker PS yes it works so at the moment we can play with Docker commands and bring up every container that we like let's clean the screen and test kubernet cluster connection with Cube CTL command with Cube CTL command we can connect to kubernetes Cluster let's test it seems cubesatel also not installed let's go into Google and find how to install it in Google I search in a stall Cube CTL and select the ones that show us it is official website of kubernetes click on it and from here install Cube CTL on Linux then there are some steps here we should follow them let's follow them and let's check as you see here it was installed let's Cube CTO get notes yes it show us the notes that are in service and let's run Cube CTO get parts capital A as you see here all the pots related to cube system namespace are up and running as you saw in this video we have installed launcher desktop on Windows 10 and integrated it with Windows sub Linux arrive at the end of video I will appreciate if you put your feedback at the comment below thank you so much see you soon
Info
Channel: howto skills video
Views: 16,015
Rating: undefined out of 5
Keywords: rancher-desktop, docker container, running kubernetes locally on windows 10, running kubernetes locally, kubernetes cluster, wsl2 windows 10, rancher desktop wsl2, docker, docker on windows, kubernetes, کلاستر کوبرنتیز روی ویندوز, داکر, docker for devops, be devops, wsl2, windows sub linux, نصب و راه اندازی رانچر دسکتاپ, نصیب rancher-desktop, Linux Dev Environment on Windows, docker windows, rancher tutorial, kubernetes windows
Id: I9YtRhPRMqc
Channel Id: undefined
Length: 12min 42sec (762 seconds)
Published: Mon Jan 02 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.