Docker Complete Setup on Windows (With WSL Ubuntu)

preview_player
Показать описание

Learn how to setup perfect working environment with Docker and WSL Ubuntu.

Docker is an amazing tool for development. But on Windows it might be tricky to setup it up and make it working.
In this video I will setup docker working environment on Windows, create and run docker images, enable WSL 2, Install Ubuntu in WSL 2 and connect Ubuntu with Docker Desktop on windows.
You will see all these steps in details.

Install Docker

Install WSL

If you really love my content and want to support the channel:
👉 My Patreon: (For monthly donation)
🍺 Buy me Beer: (For one time donation)

Get premium shared hosting for $2 per month, which includes free domain, email and SSL. Use the coupon code "THECODEHOLIC" or click the link bellow

Table of contents
00:00 - Intro
00:30 - Prerequisites
01:36 - Install Docker Desktop
02:22 - Run Docker image
03:32 - Enable WSL
05:29 - Install Ubuntu in WSL
06:32 - Integrate WSL Ubuntu with Docker
07:24 - WLS Ubuntu and VSCode
08:04 - Install Laravel Using Sail
09:58 - Open Ubuntu FS in Windows Explorer
10:23 - Open WSL Ubuntu project in PHPStorm
11:41 - The End

Follow me on social media:

Check my Github:
Рекомендации по теме
Комментарии
Автор

9 months later I needed this tutorial myself. Thanks to me for creating this (😀).
However there are few things missing...
01:57 - I got screen "WSL2 installation is incomplete" with the link to download kernel update and two buttons "Restart" and "Cancel". I clicked on the link, downloaded, installed and clicked "Restart". After restarting Docker desktop I got an error with 3 button options. I clicked on "Reset to factory defaults". After this Docker desktop successfully started.
05:30 - Before installing Ubuntu make sure you set the default version of WSL to 2 by running "wsl --set-default-version 2". To convert your Ubuntu from version 1 to version 2 run "wsl --set-version Ubuntu 2"

TheCodeholic
Автор

my favorite type of tutorial, one that can seamlessly flow between pain points and explains what it is you are looking at as it progresses, giving end caps to auxiliary issues common sensically likely to be discovered once the main thing youre trying to do is complete. the explorer trick and how to open a project in phpstorm was something id braced myself to have an issue with, looking at other tuts and searching for individually, but none of them were as concise as what was shown in the video - nor as quick, or made as much sense. thankyou

sirwoofish
Автор

Great tutorial, concise and to the point, exactly what I needed to get me up and running.

mattharper
Автор

This is the best video on docker desktop and wsl. Short simple and to the point.
Worked like a charm on Windows 11.

youtindia
Автор

Such a clear and good demo video for Docker Desktop and WSL2. Thank you for making this video.

maosiyu
Автор

Clear and straight forward, thanks man ✌

sibusisongwenya
Автор

Thank you so much for this tutorial! Saved me a lot of time!

brtj
Автор

Many thanks for the video, I was searching why Docker requires WSL and how to integrate, your video is awesome :)

ashraffouad
Автор

Best Resource for this topic, straightforward, direct.

kraiventezuka
Автор

I love your way in explaining those point smoothly :)

Aweheid
Автор

Thanks for this tutorial, now I can watch the Laravel Portfolio that you recently post it.

TiagoLino
Автор

This tutorial is a lot for me! I learned many things for my daily activity as a system DevOps Expert!

Wegahata
Автор

Thank you very much, we all appreciate your consistency and commitment

edu-flex
Автор

Thanks Sir. Very helpful. Short and simple

jean-martinfernand
Автор

Thanks again for this video ! Helps a lot ! Wish you the best of luck ! 👍 🙏

charlesvallar
Автор

I would be happy to see more videos about docker. Thank you.

luckyboy
Автор

i saw many videos related this content but this is absolutely amazing guidance (Y)

syedbilal
Автор

Really good explanation of wsl and linux integration with Docker Desktop on windows

darshan.shirke
Автор

I should've seen this tut before installing Ubuntu in windows and docker seperately. I hope I can consolidate both with this tut.

manuhernz
Автор

Cool, simple and Awesome, what I need is in this video, Thanks Bro, much appreciated

pramodm