Docker Desktop for Windows 10/11 Setup and Tips
HTML-код
- Опубликовано: 25 июн 2024
- When you're getting started with Docker and Kubernetes, you'll likely want a local setup. This video walks through installing on Windows 10 or 11, and goes through customizing your setup. It's part of a series of videos for each OS on how to install and configure Docker Desktop.
🎟 Best coupons for my Docker and Kubernetes courses at www.bretfisher.com/courses
▶️ Full playlist for installing Docker and Kubernetes locally: • Install Docker and Kub...
👉 Other install videos in this playlist
==============================
Why Docker Desktop • How you should run Doc...
Install Docker on Windows (this video) • Docker Desktop for Win...
Install Docker on Mac • Docker Desktop for mac...
Install Docker on Linux desktop • Docker Desktop for Lin...
Install Docker on Linux server • Docker Engine for Linu...
✅ Alternate ways to run Docker and Kubernetes locally bret.show/ddalt
💬 Join the discussion on our DevOps Discord chat server devops.fan
🎧 Listen to my podcast www.bretfisher.com/podcast
🔴 Join my weekly live show by subscribing and clicking the bell to get notified bret.live
Chapters
========
00:00 Intro
02:39 WSL2 option
03:10 DD is always free for learning
03:55 WSL2 Linux Kernel update
05:16 Login to DD for more pulls
06:08 Enabling virtualization in BIOS
07:36 DD tweaks
09:51 First Linux VM run
10:25 Installing multiple WSL distributions
11:18 Use Ubuntu shell, not PowerShell for Command Prompt
12:59 Ubuntu
13:25 Setting the Windows default terminal
14:26 VS Code
15:24 Getting the course repo
#docker #kubernetes #devops Наука
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.
VERY informative. THANK YOU
Thanks for the info, seems like a very complicated process.
Your video helped a lot, thank you
Awesome stuff!
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?
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.
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.
Hello. I need help to mount a external disk to docker desktop (windows). Can you help me? tks.
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.
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.
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.
sir i am looking for consul please make some videos.
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
Whenever I try to pull image I get local error tls bad record mac🥴
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, RUclips 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 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
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
Plug
It's funny that you don't show people how to do anything. LOL