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

  Рет қаралды 36,378

be-devops

be-devops

Күн бұрын

In this video we will learn how to install Rancher-Desktop on windows OS and configure WSL2 (Windows sub Linux) to let us run Docker containers and also manage them by Kubernetes and also it is a good replacement for Docker-Desktop.
Rancher Desktop is an all-in-one solution for container management on your desktop workstation. It provides an easily maintained Kubernetes installation that runs on your local windows machine and streamlines setting up containerized workflows in development as a Linux Dev Environment on Windows with WSL 2.
How does Rancher Desktop differ from Docker Desktop?
Choose the version of Kubernetes you want
Test how workloads handle Kubernetes upgrade
Choose between Containerd and Dockerd
Run stand-alone containers
Build, push, and pull container images
Simple Kubernetes Configuration
Run Docker containers on windows in easy way
==========================================
www.buymeacoff...
==========================================
🔗Enable the Windows Subsystem for Linux
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
🔗Enable Virtual Machine feature
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
🔗Set WSL 2 as your default version
wsl --set-default-version 2
🔗check the wsl version
wsl -l -v
🔗 Solve Docker permission from the following resource:
github.com/ran...
sudo addgroup --system docker
sudo adduser $USER docker
newgrp docker
And something needs to be done so $USER always runs in group `docker` on the `Ubuntu` WSL
sudo chown root:docker /var/run/docker.sock
sudo chmod g+w /var/run/docker.sock
"But the main command is this one:
"sudo chmod g+w /var/run/docker.sock" or "sudo chmod 666 /var/run/docker.sock"
WSL2
rancher desktop
kubernetes
docker
docker cli
docker on windows
kubernetes on windows
kubernetes locally
windows subsystem for Linux
Like | Share | Subscribe | Follow

Пікірлер: 32
@lolomimama193
@lolomimama193 Жыл бұрын
Thank you very much. I tried to do an installation on my own but I didn't manage to get it to work. With your guide I could finally have it running in less than an hour.
@be-devops
@be-devops Жыл бұрын
I am glad to hear that
@jagadeeshp1163
@jagadeeshp1163 27 күн бұрын
SAVED MY PROJECT
@thewarrior9827
@thewarrior9827 Жыл бұрын
a new follower from France. I do love your work. keep doing. tks a lot
@be-devops
@be-devops Жыл бұрын
Merci bq mon ami
@rajesht5420
@rajesht5420 11 ай бұрын
much informative video. Thank you for sharing your knowledge
@be-devops
@be-devops 11 ай бұрын
Thanks
@peanut-d-cat
@peanut-d-cat 11 ай бұрын
thank you so much. it really helped me on my job.
@be-devops
@be-devops 10 ай бұрын
Thanks
@LaxmanMerupula
@LaxmanMerupula Жыл бұрын
Thank you so much ... I appreciated your help
@be-devops
@be-devops Жыл бұрын
You are so welcome
@shahanemakiyan
@shahanemakiyan Жыл бұрын
great video! very helpful
@be-devops
@be-devops Жыл бұрын
It is my pleasure. very welcome
@AndreBellCopywriter
@AndreBellCopywriter 3 ай бұрын
Thanks for the detailed instructions and thanks for listing the longer steps in the description. Followed all the steps exactly and in order. Each step said installed successfully. But wsl -l lv says: "*Windows Subsystem for Linux has no installed distributions.*" So I tried 'wsl --update' and it said updating to version 2.2.24. Afterward I ran 'wsl -l -v' and was told, "*wsl : The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.*" Arggg. Going to try using my admin login, instead of run as admin. Anyhow, is a problem on my end. Thx x2 for the steps.
@AliZainJaved-m6h
@AliZainJaved-m6h Жыл бұрын
thank you so much
@be-devops
@be-devops Жыл бұрын
very welcome
@KrishnaKrish1
@KrishnaKrish1 3 ай бұрын
Thank you so much!
@FromMiToYou-e4i
@FromMiToYou-e4i Жыл бұрын
You save me, legend 💪🏼
@Cryptic_WisdomV2.2
@Cryptic_WisdomV2.2 6 ай бұрын
Awesome
@maddi1154
@maddi1154 2 жыл бұрын
It's wonderful. can you post next steps also please.
@be-devops
@be-devops 2 жыл бұрын
It was only installation Rancher-desktop to prepare your windows for running Docker containers and use Kubernetes cluster. If there is special in your mind let me know and I will make a video for it. but I am preparing a full course for docker and kubernetes from scratch.
@chadDickerson-s8m
@chadDickerson-s8m 3 ай бұрын
where is the main page for rancher you skipped that part
@be-devops
@be-devops 3 ай бұрын
when u search on google the page you get, will direct you to installation page. i don't know why you need main page?
@thomaspires1553
@thomaspires1553 Жыл бұрын
Thank u IT's bro. Works fine
@vishwaranjansingh6111
@vishwaranjansingh6111 8 ай бұрын
great
@MatteoMi
@MatteoMi 9 ай бұрын
A video I've found on google tells me to run a search on google to find the solution of the problems he founds! :D Right, kidding (just a bit, would make a video a lot shorter if you just show the solution without the search:) but still well explained and interesting 👍
@be-devops
@be-devops 9 ай бұрын
Yes, i agree with you. But when you go into a class for teaching, some students get subject quickly like you and some get the subject late like me. so we need to look them in one level. For that reason always i think still there some one like me :) that need to know why and from where we found solution. :) many Thanks for your comment
@Mr.rawJat
@Mr.rawJat Жыл бұрын
I get below error, please help. $ docker version Client: Version: 23.0.1-rd API version: 1.42 Go version: go1.19.5 Git commit: 393499b Built: Fri Feb 10 16:55:36 2023 OS/Arch: linux/amd64 Context: default Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Running $ sudo dockerd gives below error: ERRO[2023-04-20T17:14:37.063407088+05:30] failed to initialize a tracing processor "otlp" error="no OpenTelemetry endpoint: skip plugin" ... WARN[2023-04-20T17:14:38.351509465+05:30] grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock 0 }. Err :connection error: desc = "transport: Error while dialing dial unix:///var/run/docker/containerd/containerd.sock: timeout". Reconnecting... module=grpc failed to start daemon: Error initializing network controller: error obtaining controller instance: unable to add return rule in DOCKER-ISOLATION-STAGE-1 chain: (iptables failed: iptables --wait -A DOCKER-ISOLATION-STAGE-1 -j RETURN: iptables v1.8.7 (nf_tables): RULE_APPEND failed (No such file or directory): rule in chain DOCKER-ISOLATION-STAGE-1 (exit status 4))
@be-devops
@be-devops Жыл бұрын
to verify: At first switch to root user with : *sudo -i* then run : *docker version* now if you do not see this error : *Cannot connect to the Docker daemon at unix:///var/run/docker.sock.* let me know to show you how fix it for your current user
@ivonnenaranjo2649
@ivonnenaranjo2649 Жыл бұрын
Hi@@be-devops, I'm getting the same error could you show me hao to fix it? I'm connected as root # docker version Client: Version: 20.10.25 API version: 1.41 Go version: go1.18.1 Git commit: 20.10.25-0ubuntu1~22.04.1 Built: Fri Jul 14 21:58:09 2023 OS/Arch: linux/amd64 Context: default Experimental: true Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
@be-devops
@be-devops Жыл бұрын
@@ivonnenaranjo2649 please the status of docker # systemctl status docker if it is not in running status run: # systemctl start docker and i am sure it will solve it if not solved run: sudo dockerd
Docker Для Начинающих за 1 Час | Docker с Нуля
52:43
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 419 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Kubernetes, Rancher [4], RKE установка
24:41
Артур Крюков
Рет қаралды 4,7 М.
Should We Replace Docker Desktop With Rancher Desktop?
18:19
DevOps Toolkit
Рет қаралды 65 М.
Running Windows in a Docker Container!
10:07
Wolfgang's Channel
Рет қаралды 373 М.
you need to learn Docker RIGHT NOW!! // Docker Containers 101
23:19
NetworkChuck
Рет қаралды 2,8 МЛН
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 507 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 354 М.
you need to learn tmux RIGHT NOW!!
17:46
NetworkChuck
Рет қаралды 606 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН