WSL 2 with Docker getting started

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ม.ค. 2025

ความคิดเห็น • 261

  • @davidbombal
    @davidbombal  4 ปีที่แล้ว +22

    Note: I made a mistake in the video at 2:12 - prerequisites for WSL2 are: "Windows Subsystem for Linux" and "Virtual Machine Platform"
    Menu:
    Overview: 0:00
    Prerequisites: 0:27
    Download Docker Desktop for Windows: 2:39
    Install Docker Desktop for Windows: 3:08
    Start the Docker Desktop: 4:32
    WSL 2 Docker Desktop Settings: 5:37
    Run Docker Containers in Ubuntu in WSL 2: 7:21
    Testing Docker Containers: 9:44
    Previous video: th-cam.com/video/_fntjriRe48/w-d-xo.html

    • @allendataguy
      @allendataguy 4 ปีที่แล้ว +3

      "Virtual Machine Platform" & "Windows Subsystem for Linux" were the only two pre-requisites for Docker to be functional on Windows 10 Home.
      "Windows Hypervisor Platform" was never a requirement, as I understand from the documentation specific for Docker on WSL2.
      I am currently running Docker on my Windows 10 Home laptop without the "Windows Hypervisor Platform".
      Thanks for the tutorial video, I was looking for pitfalls leading to Docker to stop functioning & WSL shell working erratically.

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +3

      That's correct. I made a mistake in this video :( In my previous video I explained this correctly.

    • @abelcotrinasaldana891
      @abelcotrinasaldana891 4 ปีที่แล้ว

      So is it possible run other hypervisor like Vmware in the same pc with wsl?

    • @0MVR_0
      @0MVR_0 4 ปีที่แล้ว

      @@davidbombal Had been troubleshooting for the past week because the particular setup seems to reject turning Hypervisor on.

  • @biotikcharge3970
    @biotikcharge3970 4 ปีที่แล้ว +33

    Running a OS inside a container inside a OS inside Windows (another OS)
    WTF lol. Love it. Thanks for this series David

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +3

      lol... inception here we come :) Glad you enjoyed the video!

    • @swarupkumar2
      @swarupkumar2 4 ปีที่แล้ว +2

      Not to forget he is recording all of these inside of a Mac.

  • @mzejli5242
    @mzejli5242 4 ปีที่แล้ว +65

    it's like the movie inception lol.
    Thanks David!

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +4

      lol... agreed... how many levels are we going :)

    • @mosesindecks
      @mosesindecks 4 ปีที่แล้ว

      @@davidbombal lets do 30 levels.

    • @moltobene1528
      @moltobene1528 4 ปีที่แล้ว

      recursion

    • @umeshdhaked7638
      @umeshdhaked7638 3 ปีที่แล้ว

      btw you can't go further more than 3. Cause you cannot run another Ubuntu inside a Ubuntu container running on docker.

  • @sysux593593
    @sysux593593 2 ปีที่แล้ว +8

    Even 2 years after release, and still more useful than paid tutorials/Courses! Thanks, @david!

  • @madhumithamuthukumar4094
    @madhumithamuthukumar4094 3 ปีที่แล้ว +3

    This is what I was trying to understand for past 48 hrs... Thank you

  • @midas087
    @midas087 4 ปีที่แล้ว +16

    Amazing. I love it. A very educational tutorial as always David. How amazingly things you can do with today's technology and thanks for the knowledge sharing us usual. Cheers David

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      Thank you! Glad you enjoyed the video :)

  • @anag2125
    @anag2125 3 ปีที่แล้ว +4

    "im running operating systems within operating systems within operating systems". Super cool :D Thank u so much!!

  • @michaelryce1200
    @michaelryce1200 ปีที่แล้ว

    Thank you for a very clear and concise explanation of the process from end to end. As somebody who is brand new to wsl2, docker and dev containers.....this was extremely straightforward.

  • @FORJAF02
    @FORJAF02 3 ปีที่แล้ว

    Thank you. I was stuck for days until you showed that I needed to upgrade my windows version to with docker desktop.

  • @ntwiz2
    @ntwiz2 2 ปีที่แล้ว

    Just came across your channel David. You're method of explanation is absolutely unparalleled. I am a newb to the Linux world but my occupation requires I learn it. I look forward to see many more of your wonderful videos.

  • @rogerpence
    @rogerpence 4 ปีที่แล้ว +2

    Why, oh why, would anyone give this video a thumbs-down? David's videos on WSL are some of the best on TH-cam. Great work. I tried WSL1 and did a little with it but after hearing about WSL2 I went back to my Linux box. Now, with WSL2 I am moving my docker containers from my Linux box to Windows--thanks to your help. Thank you, David.

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      Thanks Roger! Great feedback. Unfortunately haters will be haters :(

  • @nadeemahmed9963
    @nadeemahmed9963 4 ปีที่แล้ว +1

    Very Nice, waited for 7 days to watch your youtube video.

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      Hope you enjoyed it! :)

  • @AnjanKumarhere
    @AnjanKumarhere 4 ปีที่แล้ว

    Not sure if its his flawless explanations or his backdrop or his voice, got me hooked.

  • @zero05vini
    @zero05vini 2 ปีที่แล้ว

    Finally a good explanation of how to do this! Everything worked out well in my Windows 10 Home laptop, with a 19044 build.

  • @priyankapatel9461
    @priyankapatel9461 3 ปีที่แล้ว

    Thank you for making this video because of you I am able to run docker in ubuntu. Lot of thanks

  • @普通平民-o6p
    @普通平民-o6p 4 ปีที่แล้ว +3

    At 3:52 of video you said "Windows Home doesn't support Hyper-V", but why at 2:13 you said the Windows Hypervisor Platform is needed?

  • @asa9593
    @asa9593 4 ปีที่แล้ว +4

    Thanks for sharing, Uncle David!

  • @shaileshkumarshetty4401
    @shaileshkumarshetty4401 3 ปีที่แล้ว +1

    This is my first comment on TH-cam
    simply Awesome!!!!!!

  • @jamesdietsch7868
    @jamesdietsch7868 4 ปีที่แล้ว +3

    Another great video here David! Superb content as always! Be interesting to see the new virtualization technologies from apple as well :)

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +1

      Thank you James. Agreed - with Apple moving away from Intel CPUs, it's going to be interesting to see what happens :)

  • @livewithvikash
    @livewithvikash 3 ปีที่แล้ว +1

    Hi David, you just saved my life. Even StackOverflow didn't help.

  • @Arayankodesouth
    @Arayankodesouth 4 ปีที่แล้ว +2

    thank you again..!
    My favourite channel in TH-cam..!❤️💥

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +1

      Thank you so much 😀

    • @AbuAhmedAlsudani
      @AbuAhmedAlsudani 4 ปีที่แล้ว +1

      Actually for me also. Thanks DB.

  • @zameerahmed1775
    @zameerahmed1775 2 ปีที่แล้ว

    Awesome ................ Ur voice reminds me of the Biblical David. U have been gifted with a fantastic voice ....... Its dominating and judgemental.
    I had an issue of running docker on WSL1. I have shed tears of blood doing all sorts of hacks.
    I have seen both ur videos ............ WSL2 installation & setting up docker on WSL2. U made it appear soooooooooooo simple
    Thr is another caveat in Windows Pro ............. The Virtualization needs to be enabled in Firmware(BIOS), else docker installation would hang on WinPro. I have faced it ..........
    Hyper-V Requirements:
    VM Monitor Mode Extensions: Yes
    Virtualization Enabled In Firmware: Yes
    Second Level Address Translation: Yes
    Data Execution Prevention Available: Yes
    Thanks a Ton David ................ God bless you , ur family & ur generations.

  • @parthapramanik5330
    @parthapramanik5330 2 ปีที่แล้ว

    Simply amazing. Thanks for such great content David!

  • @ponsun
    @ponsun 3 ปีที่แล้ว

    absolute madman running all these matroshka layers

  • @Chatsworth1979
    @Chatsworth1979 4 ปีที่แล้ว

    Magnificent! Subscribed and liked! Worked exactly as you described on my Windows 10 Home computer. Much appreciated.

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      Thank you! Really happy to hear that it worked for you :)

  • @anarelle
    @anarelle ปีที่แล้ว

    It was all well until 5:19. I don't have an option to start Ubuntu, so I guess there was some step missing? What do I need to install or run in order to have Ubuntu show up in my start menu?

  • @aurkito
    @aurkito 4 ปีที่แล้ว +2

    Love from India
    So much of thankful to you
    Your student
    Ayush

  • @prasad_yt
    @prasad_yt 4 ปีที่แล้ว +8

    Hi David, @ 2.13 in the video , you mention about selecting 'Windows Hypervisor Platform'. Should that have been "Virtual Machine Platform" ? I saw this video immediately after your WSL2 : Getting Started video.
    BTW - Thanks for making these videos - you make it easier to understand.

    • @anand26shweta
      @anand26shweta 3 ปีที่แล้ว

      Yes I have the same doubt.

  • @suchitragiri4546
    @suchitragiri4546 3 ปีที่แล้ว

    So informative, my all confusion has gone now!

  • @humayunakhtar2116
    @humayunakhtar2116 4 ปีที่แล้ว +10

    thats what i was looking from you m gonna try now

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +2

      Glad the video was helpful Humayun!

  • @amtawfiq
    @amtawfiq 4 ปีที่แล้ว

    Thanks a lot for the thorough tutorial. I got a permission denied at 7:45 and used "sudo" to fix it:
    sudo docker run -d -p 80:80 docker/getting-started

  • @orleydoss3171
    @orleydoss3171 4 ปีที่แล้ว +1

    That's neat... like having a bunch of Light weight hypervisors. Thank you Sir 👍

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      That's exactly right Orley

  • @jxm8944
    @jxm8944 3 ปีที่แล้ว

    Thank you for the WSL2+Docker. Running a OS inside a container inside a OS inside Windows (like as Russian nesting doll )? So amazing !

  • @xx482
    @xx482 3 ปีที่แล้ว

    Thanks a lot David . i was struggling for long time .. your video helped me ..

  • @mosesindecks
    @mosesindecks 4 ปีที่แล้ว +1

    @8:59 had me. I loved the running Ubuntu within Ubuntu within Docker within windows part lol. Inception Movie right there, time slowed down a bit.

  • @muhammad.rafi2012
    @muhammad.rafi2012 4 ปีที่แล้ว +2

    David you are so good ...please keep the good work up...also wold you mind making some more videos on docker with WSL2.. may be add kubernetes too :) if not asking too much

  • @sarthakmathur7696
    @sarthakmathur7696 4 ปีที่แล้ว

    Thanks David. The explanations were really clear!!

  • @Devopstour
    @Devopstour ปีที่แล้ว

    hello sir a lot of love from india 💌💌
    thanks for sharing such amazing content i realy loved it

  • @dotnetdevni
    @dotnetdevni 7 หลายเดือนก่อน

    U there first tutoral I looked that where a managed to get this to work under wsl very well explained

  • @akshayg8958
    @akshayg8958 3 ปีที่แล้ว

    Thank David !! this was much needed ...

  • @mrmuranga
    @mrmuranga 4 ปีที่แล้ว

    Thanks David..very brief and clear

  • @traolin5877
    @traolin5877 4 ปีที่แล้ว +10

    2:53 oh man, I hope I have enough storage space for that big boi

  • @dandogamer
    @dandogamer 4 ปีที่แล้ว

    Nice! Wsl2 been waiting ages for it

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      Agreed. It's great to see how Microsoft are improving this.

  • @EddieNewmanLED
    @EddieNewmanLED 3 หลายเดือนก่อน

    4 years later and still going strong.

  • @autostopemniewiadomodokad8531
    @autostopemniewiadomodokad8531 3 ปีที่แล้ว

    Great video! It helped me to run it. Hypervision was not chcked and it was previously not connecting with my wsl :) thank you

  • @petrobull2560
    @petrobull2560 2 ปีที่แล้ว

    Great explanation video!👍

  • @TBoneXReaper
    @TBoneXReaper ปีที่แล้ว

    Your video was very helpful. Thank you!

  • @kiransurya6598
    @kiransurya6598 2 หลายเดือนก่อน

    Sir how to 8080 security group in wsl ubuntu nd I did nd i try to access that container but security issue hostname -i give ip address with that nd :8080 i accesd didn't connected 😢

  • @HudsonVentura
    @HudsonVentura 4 ปีที่แล้ว

    Amazing. Very quick. Thanks so much!

  • @BrewskaySA
    @BrewskaySA 4 ปีที่แล้ว

    So your using Ubuntu to run Docker which is also running Ubuntu to use the Ubuntu Bash! Cool!

  • @r4id395
    @r4id395 3 ปีที่แล้ว

    very good explanation! keep forward!

  • @tigerfanxiao
    @tigerfanxiao 4 ปีที่แล้ว

    great video and very helpful as always

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      Thank you! Glad you think so!

  • @carlossellsoto
    @carlossellsoto 4 ปีที่แล้ว

    Excellent video David. You got a new subscriber. I followed the steps but got stuck in the Resources section of Docker Desktop. It says "You don't have any WSL 2 distro". But I installed Ubuntu 20.04 checked it was WSL 2 with power shell and ran some sample commands. The only difference in the process is that I installed Docker in my normal user and have to run it as an administrator to make it work. Thank you in advance.

  • @biklimbs1133
    @biklimbs1133 2 ปีที่แล้ว

    Amazing tutorial sir, it was really helpful

  • @msdevsec
    @msdevsec 9 หลายเดือนก่อน

    Thank you, extremely helpful!

  • @julianeccleshall8397
    @julianeccleshall8397 4 ปีที่แล้ว

    1. you only need version 1903 or higher now
    2. the features need to enable are Windows Subsystem for Linux and Virtual Machine Platform. not windows hypervisor platform (make sense, this is docker on wsl not docker on windows)
    3. now dock will enable hyper-v itself during the install

  • @alexisrs127
    @alexisrs127 3 ปีที่แล้ว

    I could get what you said about the OS levels but a draw can also help a lot.

  • @yogeshbhatt5850
    @yogeshbhatt5850 2 ปีที่แล้ว

    Im getting this error "Hardware assisted virtualization and data execution protection must be enabled in the BIOS. See "Link to docker docs"

  • @nephets2878
    @nephets2878 4 ปีที่แล้ว

    Good day from Jamaica, I would like to say thanks for the video. Until now I was unable to start any development using the limited hardware.

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      Glad to hear that the video was helpful

  • @jimzhang2562
    @jimzhang2562 3 ปีที่แล้ว

    Thank you so much. Your video basically solved all my questions. So straightforward and easy to understand. You should go teach in Udemy and I will buy you course.

  • @aHardReset
    @aHardReset 3 ปีที่แล้ว

    Thank you so much. Great content.

  • @bskupdates1406
    @bskupdates1406 3 ปีที่แล้ว

    I am getting docker is upto date and a close button. what to do?

  • @WarMatt86
    @WarMatt86 4 ปีที่แล้ว

    Great video and explanation are clear! It would be 110% awesome if you explain the "OS inception" with a whiteboard ;)

  • @akunpang8625
    @akunpang8625 4 ปีที่แล้ว

    Hey, David, really a great video! I hope your next video can introduce how to use nvidia-docker in WSL2. It would be really helpful for who need use Nvidia GPU in docker on Windows!

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      Thank you for the recommendation. Microsoft documentation: "Can I access the GPU in WSL 2? Are there plans to increase hardware support? In initial releases of WSL 2 hardware access support will be limited, e.g: you will be unable to access the GPU, serial or USB devices. However, adding better device support is high on our backlog, as this opens many more use cases for developers that wish to interact with these devices. In the meantime, you can always use WSL 1 which has serial port access. Please stay tuned to this blog and WSL team members on Twitter to stay informed about the latest features coming to insider builds and reach out to give us feedback on what devices you'd like to interact with!" docs.microsoft.com/en-us/windows/wsl/wsl2-faq

  • @JavaCuckoo
    @JavaCuckoo 4 ปีที่แล้ว

    Installing, this may take a few minutes...
    WslRegisterDistribution failed with error: 0x8007023e
    Error: 0x8007023e {Application Error}
    The exception s (0x
    Press any key to continue...
    I am getting the above error while installing ubuntu app to my Windows Home machine. Please help me on this

  • @juanpcc5892
    @juanpcc5892 4 ปีที่แล้ว +1

    In the previous video you only activate WSL and virtual machine platform, but now you activate Hypervisor Platform, is that necessary ?

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +1

      I made a mistake in this video. You only need the Virtual Machine - not the Hypervisor

    • @juanpcc5892
      @juanpcc5892 4 ปีที่แล้ว

      @@davidbombal thanks, any problem with keep the Hypervisor activated?

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      ​@@juanpcc5892 There are issues running WSL 2 and VirtualBox or VMware - see here: docs.microsoft.com/en-us/windows/wsl/wsl2-faq and www.virtualbox.org/wiki/Changelog-6.0 and blogs.vmware.com/workstation/2020/01/vmware-workstation-tech-preview-20h1.html

  • @OscarHRamirezIII
    @OscarHRamirezIII 4 ปีที่แล้ว +2

    Fantastic video. Thank you for helping to make this whole process more understandable. I was wondering if you would are planning to make (or have already made) a video explaining how to allow docker containers running within WSL to access files in the host system? e.g. having an instance of Plex/emby/jellyfin access the files I have stored on a local external drive. I have a feeling it has something to do with volumes and/or bind mounts but I am still all too new to this to know how to proceed. I have played around and tried some things but have been unsuccessful. I’d love some guidance. Thanks for all you do. I’m gonna keep an eye on this channel. Keep up the great work.

  • @ملهممحمد-ث5ي
    @ملهممحمد-ث5ي 4 ปีที่แล้ว

    Sub-process /usr/bin/dpkg returned an error code (1) ?????

  • @sale7680
    @sale7680 2 ปีที่แล้ว

    Could you tell me why
    Docker General
    Use the wsl2 based engine
    Is not active?

  • @alhelygonzalezluna6701
    @alhelygonzalezluna6701 4 ปีที่แล้ว

    I get this when trying to run code. "code.: command not found" why ?

  • @WrongSmth
    @WrongSmth 4 ปีที่แล้ว

    Hi, David! Sorry if you had mentioned it before.
    It seems that older versions of VMware and virtual box are incompatible with WSL 2.
    haven’t tested virtualbox yet but upgrading to
    VMware workstation 15.5.6 has fixed the issue.

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      There are issues running WSL 2 and VirtualBox or VMware - especially with nested virtualization. See here: docs.microsoft.com/en-us/windows/wsl/wsl2-faq and www.virtualbox.org/wiki/Changelog-6.0 and blogs.vmware.com/workstation/2020/01/vmware-workstation-tech-preview-20h1.html - I cover this here in my previous video: th-cam.com/video/_fntjriRe48/w-d-xo.html

  • @vivian20101991
    @vivian20101991 4 ปีที่แล้ว +1

    Correction not windows hypervisor platform but virtual machine platform needs to be enabled in the windows feature

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +2

      Good catch! I said that by mistake :(

  • @AlexeyElishaVoloshin
    @AlexeyElishaVoloshin 5 หลายเดือนก่อน

    The explanation and presentation are clear but what's the usage of this nested virtualization? How can it be used for developing or testing purposes, if at all?

  • @spacetime314
    @spacetime314 4 ปีที่แล้ว

    I GET THIS ERROR:
    docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
    See 'docker run --help'.
    :(
    Please help, thank you so much!!!

  • @skynet.yousha
    @skynet.yousha 4 ปีที่แล้ว +1

    Nice video David, as usual.
    What is the difference between running "Windows Subsystem for Linux" natively on windows and through Docker Desktop?

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +1

      You use the Docker Desktop app to enable Docker functionality with WSL 2.

  • @guilhermeangelo3191
    @guilhermeangelo3191 3 ปีที่แล้ว +2

    Great video! Could you show us how to increase the memory docker uses for WSL2? On Hyper-V Backend they have a menu for it

  • @neonix01
    @neonix01 4 ปีที่แล้ว +1

    That's cool and all but I'd prefer a practicle walkthrough instead of a proof of concept video. What is the practical point of running several layers of operating systems within themselves on a machine or laptop?

  • @fahadmaqsood4262
    @fahadmaqsood4262 4 ปีที่แล้ว

    Hello, I have installed and configure docker toolbox on local machine and connected with different devices. Now one of my colleague wants to use the custom image but he has installed docker desktop which seems quite different then toolbox. Anyone around here knows how to connect real android device with docker desktop?

  • @dimitristsoutsouras2712
    @dimitristsoutsouras2712 4 ปีที่แล้ว

    all features needed from the turn on/off options in Win breaks Virtualbox (I dont mean running both at the same time but individually).

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      There are issues running WSL 2 and VirtualBox or VMware - especially with nested virtualization. See here: docs.microsoft.com/en-us/windows/wsl/wsl2-faq and www.virtualbox.org/wiki/Changelog-6.0 and blogs.vmware.com/workstation/2020/01/vmware-workstation-tech-preview-20h1.html - I cover this here in my previous video: th-cam.com/video/_fntjriRe48/w-d-xo.html

  • @WrongSmth
    @WrongSmth 4 ปีที่แล้ว +1

    still can't update to 2004 due to some hardware incompatibilities :(

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว

      Yes, it looks like some people are having issues installing 2004.

    • @GoonCity777
      @GoonCity777 4 ปีที่แล้ว +1

      There is a media creation tool for it that bypasses Windows Update

  • @rsrini7
    @rsrini7 4 ปีที่แล้ว

    Thanks. But virtual box not working after enabling internal hyperviser for wsl2. Any suggestions

  • @SachinKumar-qk9yu
    @SachinKumar-qk9yu 4 ปีที่แล้ว

    Can I install docker inside wsl2 connected through remote desktop

  • @kspm102
    @kspm102 4 ปีที่แล้ว

    Thank you for sharing a useful tip. Btw, I suggest you go for native Docker on Linux (without hypervisior)

  • @tikshuv-ccna
    @tikshuv-ccna 4 ปีที่แล้ว +1

    Great DAVid ! Thanks gonna try iy.

  • @justarob0x
    @justarob0x 4 ปีที่แล้ว

    so what are some use cases for this type of OS inception? besides testing, thanks!

  • @HellSpawn3241
    @HellSpawn3241 4 ปีที่แล้ว

    It would be great to hear how to solve WSL2 disk performance issues.
    If you can't install WSL2 and Docker without such "material", what are you going to do with Docker at all ?

  • @mvl8209
    @mvl8209 4 ปีที่แล้ว

    Do I understand it correct that die normal Linux VMs, the hypervisor is not needed, but door docker it is?
    Because in the previous video, you said we don't need the hypervisor.

  • @ashique12009
    @ashique12009 3 ปีที่แล้ว

    Thanks that works!

  • @michaelanderson7902
    @michaelanderson7902 4 ปีที่แล้ว +1

    Thank you David

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +1

      Thank you for watching Michael

  • @vitusyu9583
    @vitusyu9583 4 ปีที่แล้ว

    But recently i tried to install docker on my Windows 10 and it stipulates that i have to use Professional version at least in order to enable Docker. pls clarify the conflict with what you said here. thanks!

  • @shivankyadav8314
    @shivankyadav8314 4 ปีที่แล้ว

    amazing video. just subscribed.

  • @_m.a-x
    @_m.a-x 4 ปีที่แล้ว

    David, @2:10 can you please confirm if we should pick Windows Hypervisor Platform or Virtual Machine Platform instead?

    • @davidbombal
      @davidbombal  4 ปีที่แล้ว +1

      I made a mistake in this video :( Use the Virtual Machine Platform.

    • @_m.a-x
      @_m.a-x 4 ปีที่แล้ว

      @@davidbombal Thank you for the prompt reply! I am following along repeating the same steps, and the MS link to prerequisites listed VM Platform, so I thought I'd ask. Thanks again!

  • @mohitmotwani9256
    @mohitmotwani9256 ปีที่แล้ว

    Thank you so much david!

  • @renoel7476
    @renoel7476 3 ปีที่แล้ว

    Great vid it helped me allot!

  • @lewessays
    @lewessays 2 ปีที่แล้ว

    For some reason even if you want to use Hyper-v, docer recommends wsl 2 instead of hyper-v.

  • @asmitty952
    @asmitty952 3 ปีที่แล้ว

    Followed all the instructions in both this video and you're other video on WSL 2: Getting Started. I get an error message trying to run any Linux distro and/or Docker on my machine. Error message is below (it's from Docker, but I get the same error trying to install and run both Ubuntu and Debian). I've tried all of the troubleshooting steps I can find online and nothing works. Any thoughts?
    Error message:
    System.InvalidOperationException:
    Failed to deploy distro docker-desktop to C:\Users\s956395\AppData\Local\Docker\wsl\distro: exit code: -1
    stdout: The operation could not be started because a required feature is not installed.

  • @zhaotianxiong
    @zhaotianxiong 4 ปีที่แล้ว

    whats the main difference between installing with hyperV and WSL2?

  • @patrickimoh
    @patrickimoh 4 ปีที่แล้ว

    Thanks David... Good information.

  • @athiramolsali4196
    @athiramolsali4196 4 ปีที่แล้ว

    is it possible to install docker in windows10 without ubuntu?

  • @syralk4
    @syralk4 4 ปีที่แล้ว

    quick question for you :)
    SO I try to mount volume to a docker using -v
    when I try to do it in Windows with C:\folder:/mnt/folder I get a warning saying it will be slow
    when I try in the ubuntu WSL2 with /mnt/c/folder:/mnt/folder I see the file in C:\folder
    can you show us how to do it
    thanks