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?
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.
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.
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?
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.
Did you install Ubuntu for WSL from the Windows Store? If you can open the Ubuntu app (which is just a shell into the VM), then it should show up as an option in Windows Terminal.
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
I'm sorry your having trouble, and that's not a typical issue. Unfortunately, TH-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.
I have windows 11 home and docker desktop forces me to have wsl2 and I can’t disable it. Is there any way I can go back to hyper v? Reason I ask is wsl2 is giving me all sorts of problems like failing to reflect the changes I make in the app
I thought in the Moby menu in your system tray there was still a r-click option of going to Hyper-V mode. The install page seems to suggest that: docs.docker.com/desktop/setup/install/windows-install/#system-requirements
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
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?
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.
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.
10 minutes into this tutorial and still no clue what to do after i installed docker , hearing words like ubuntu, shells, security linux ...... sorry but I am new to all this
Docker is an advanced infrastructure tool that does assume you know Linux, CLI shells, OS dependency managers, general software development workflows, software dependency management and deployment, server networking, etc. I'm not sure what you goals are, but if you're new to those things, you'll likely need to back up and study at least some of those concepts before trying to use containers.
Too much waffle. I was looking for a tutorial on how to use docker. This video started ok but the guy ends up talking about downloading extra stuff and then starts talking about those making it all a bit pointless.
Yea, this is not a "how to docker" video for an intro to docker. That's in the course that this video is from. This video is just how to setup Docker Desktop the best way I know.
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?
this
it's a couple of years later, but I'm feeling your frustration and it mirrors mine...
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
Thanks! I'm glad to hear that it's helping.
Fantastic video, very helpful and informative! thanks so much
Thanks for the info, seems like a very complicated process.
VERY informative. THANK YOU
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.
Your video helped a lot, thank you
8:51 What is the difference between Ubuntu and Ubuntu 22.04 LTS in the windows app store?
Also which one should I use?
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.
Awesome stuff!
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?
The last I checked, it still wants WSL2 *or* Hyper-V during install
Even Windows Containers need a Hyper-V VM by default.
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.
I have windows terminal installed with windows 11, I also have WSL2. But i don't see an option for ubuntu in the dropdown menu in the terminal ?
Did you install Ubuntu for WSL from the Windows Store? If you can open the Ubuntu app (which is just a shell into the VM), then it should show up as an option in Windows Terminal.
@@BretFisher I Think got it working now thanks :-)
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
I'm sorry your having trouble, and that's not a typical issue. Unfortunately, TH-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.
I have windows 11 home and docker desktop forces me to have wsl2 and I can’t disable it. Is there any way I can go back to hyper v?
Reason I ask is wsl2 is giving me all sorts of problems like failing to reflect the changes I make in the app
I thought in the Moby menu in your system tray there was still a r-click option of going to Hyper-V mode. The install page seems to suggest that: docs.docker.com/desktop/setup/install/windows-install/#system-requirements
What commond is used in ubuntu to connect with desktop docker
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
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?
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.
Dont use wsl/2, with mouth point to local fs its five time slower than hyper-v.
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.
Hello. I need help to mount a external disk to docker desktop (windows). Can you help me? tks.
sir i am looking for consul please make some videos.
Which I found this 2 years ago...I did kvm for passthrough just so that I could access Gpu in virtual environment. 🤦🏿♂️ but I'm am an accountant.
I don't see a link to the course repo anywhere???
It comes with the Udemy course that this video mentions. github.com/BretFisher/udemy-docker-mastery
Whenever I try to pull image I get local error tls bad record mac🥴
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
10 minutes into this tutorial and still no clue what to do after i installed docker , hearing words like ubuntu, shells, security linux ...... sorry but I am new to all this
Docker is an advanced infrastructure tool that does assume you know Linux, CLI shells, OS dependency managers, general software development workflows, software dependency management and deployment, server networking, etc.
I'm not sure what you goals are, but if you're new to those things, you'll likely need to back up and study at least some of those concepts before trying to use containers.
Too much waffle. I was looking for a tutorial on how to use docker. This video started ok but the guy ends up talking about downloading extra stuff and then starts talking about those making it all a bit pointless.
Yea, this is not a "how to docker" video for an intro to docker. That's in the course that this video is from. This video is just how to setup Docker Desktop the best way I know.
Unnecessarily lengthy explanation without much value
Plug
It's funny that you don't show people how to do anything. LOL
@jay_wright_thats_right my brother this video is labeled "setup/tips" learning how to use it is the next video 😂