Docker Desktop for Windows 10/11 Setup and Tips

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 33

  • @decryptmars
    @decryptmars 9 місяців тому +17

    I have watched more than a couple tutorials on Docker Desktop for Windows and how to get going from 0. And I have to say your tutorial was one of the best ones, but not perfect. As with many tutorials on this topic, expert blindness is an issue. Even the official Docker Desktop application with its "Learning" guidance suffers from serious expert blindness starting at least at step 2 from 7 on "How do I run a container". It simply states "Clone the repository at...". Ok, how? Where to put that command? Where should I clone it to? Just in the default user folder? You mentioned it is better to use "Linux" here and I did install Ubuntu through MS Store. Does that Ubuntu have its own folder somewhere? Should I clone that repo into that? How do I do that without created a bunch of data graveyards in my regular Windows file system?
    At 16:11 you explain something regarding folder structures, which I understand, but how do I check that and make use of that?

  • @6Sambora
    @6Sambora 2 роки тому +3

    Thank you Bret!!
    I lookup and inspired by you to learn Devops 😁
    Keep it up.. I am watching old videos of you to learn more

    • @BretFisher
      @BretFisher  2 роки тому +1

      Thanks! I'm glad to hear that it's helping.

  • @nickzouein
    @nickzouein Рік тому +3

    Thanks for the info, seems like a very complicated process.

  • @johnfunk4313
    @johnfunk4313 11 місяців тому +4

    I was hoping to find a getting started video, and while there was a tiny bit of getting started information, you went way far into technical items that an advanced user needs and not really anything that a beginner can use. This is not a good source for people who are trying to learn docker. This is much more advanced than a beginner needs.

  • @j.casshoworth9127
    @j.casshoworth9127 Рік тому +2

    VERY informative. THANK YOU

  • @legonz5047
    @legonz5047 Рік тому +3

    Everything sounds good untill i try it. Terminal says "...command docjer could not be found, Docker Desktop > Resources > Wsl dont show the Ubuntu and refresh does nothing. Thats frustrating not even getting the thing started without having troubles

    • @BretFisher
      @BretFisher  Рік тому +1

      I'm sorry your having trouble, and that's not a typical issue. Unfortunately, UA-cam comment isn't a great place to help you troubleshoot. You're welcome to jump in our Discord at devops.fan and detail your setup and what you've tried so far.

  • @OmarJuvera
    @OmarJuvera 11 місяців тому +1

    8:51 What is the difference between Ubuntu and Ubuntu 22.04 LTS in the windows app store?
    Also which one should I use?

    • @BretFisher
      @BretFisher  10 місяців тому

      Either is fine. The ones with version numbers will stick to that version, with 22.04 LTS being the current "production" version that you'd usually specify on servers, but the generic "Ubuntu" just installs the latest version, which is what I usually do for local WSL.

  • @andrewfielden284
    @andrewfielden284 5 місяців тому +1

    So if I want to run a Windows docker image and install applications into that image, can I do that? Is it possible to say, install an Anti-virus application into a Windows Docker image?

    • @BretFisher
      @BretFisher  5 місяців тому

      I've never heard of AV in a container. Generally you're ONLY running a single app (webapp, CLI, API server, DB server, etc).
      In a Windows Container image, you'd add apps the same way you'd install something via the CLI in Windows (there's no GUI during image build). If it's a .exe installer, see what options it has by using a setup.exe /help (or /?) and if it's a .msi file, learn how to install those via CLI.

  • @itpugil
    @itpugil Рік тому

    Last I touched on docker properly was on 2017. Lots have changed definitely since then. I was trying to run a docker image of twingate off of a remote windows 10 desktop with vmware workstation pro 15 and an ubuntu 22 server as a guest OS. But using WSL 2 and docker desktop running natively on windows 10 was an even better idea.
    I was having trouble installing ubuntu 22 server in vmware because inputting something from teamviewer/anydesk then onto the vmware console was a pain. The last part where you choose a server name and username, it took a while for the inputs to get sent, the delays were horrible.

  • @CreedTrix
    @CreedTrix Рік тому +1

    Your video helped a lot, thank you

  • @rpgmafia8363
    @rpgmafia8363 Рік тому +2

    If I want to run windows container on a windows device, do I still need wsl2, the repo and Editor for that or is this only suitable when you try to run a Linux container?

    • @BretFisher
      @BretFisher  Рік тому

      The last I checked, it still wants WSL2 *or* Hyper-V during install

    • @BretFisher
      @BretFisher  Рік тому

      Even Windows Containers need a Hyper-V VM by default.

  • @gloums
    @gloums 11 місяців тому +1

    Awesome stuff!

  • @pjsemedo
    @pjsemedo 6 місяців тому

    Hello. I need help to mount a external disk to docker desktop (windows). Can you help me? tks.

  • @kavithaputhra7135
    @kavithaputhra7135 Рік тому +1

    What commond is used in ubuntu to connect with desktop docker

    • @BretFisher
      @BretFisher  Рік тому +2

      Once you've added Ubuntu WSL via Windows Store, follow steps at 10:45 to add it in Docker Desktop settings, then you can use docker commands normally in Ubuntu

  • @zbynekriha
    @zbynekriha 2 місяці тому +1

    Dont use wsl/2, with mouth point to local fs its five time slower than hyper-v.

    • @BretFisher
      @BretFisher  2 місяці тому

      Right, and the official docs from Microsoft and Docker are that if you use WSL, you should clone. your code into the WSL file system and you can use something like VS Code Remote plugin to edit from your host OS while the code lives in the Linux file system. That's what I and my clients/students do, and it works great.

  • @vignesh3184
    @vignesh3184 Рік тому

    Whenever I try to pull image I get local error tls bad record mac🥴

  • @NewcastleFilm
    @NewcastleFilm Рік тому

    I don't see a link to the course repo anywhere???

    • @BretFisher
      @BretFisher  Рік тому

      It comes with the Udemy course that this video mentions. github.com/BretFisher/udemy-docker-mastery

  • @veervikramsingh8911
    @veervikramsingh8911 2 роки тому +1

    sir i am looking for consul please make some videos.

  • @nemesessnemesess9528
    @nemesessnemesess9528 4 місяці тому

    new politics of google of showing ads is so annoying, just skip a section and you instantly see three ads or more in 30 seconds

  • @pondbt-e1q
    @pondbt-e1q Рік тому

  • @BasheHassan
    @BasheHassan 4 місяці тому

    Plug

  • @jay_wright_thats_right
    @jay_wright_thats_right 4 місяці тому

    It's funny that you don't show people how to do anything. LOL

    • @sethwinters3556
      @sethwinters3556 2 місяці тому

      @jay_wright_thats_right my brother this video is labeled "setup/tips" learning how to use it is the next video 😂