1 00:00:00,625 --> 00:00:02,905 ‫Is your machine Windows 10 or 11? 2 00:00:03,205 --> 00:00:06,475 ‫Then this is the video for you for getting ‫everything you need in this course. 3 00:00:06,849 --> 00:00:11,199 ‫You're going to need a supported version ‫of Windows Desktop, that's Windows 4 00:00:11,199 --> 00:00:13,629 ‫10 or 11 at the time of this video. 5 00:00:13,719 --> 00:00:18,489 ‫And that's any edition of Windows ‫10 or 11, Home, Pro, Enterprise. 6 00:00:18,489 --> 00:00:19,069 ‫Any of that. 7 00:00:19,675 --> 00:00:23,940 ‫And I'm also going to show you some ‫settings you probably want to tweak inside 8 00:00:23,940 --> 00:00:28,393 ‫your Docker Desktop setup, and then we're ‫going to make sure you have the course 9 00:00:28,393 --> 00:00:34,123 ‫repo cloned locally, and you also have ‫some other tools set up, that'll make 10 00:00:34,123 --> 00:00:36,073 ‫it easier to do this course on Windows. 11 00:00:36,571 --> 00:00:38,881 ‫And we're also going to make ‫sure you have Visual Studio Code. 12 00:00:39,121 --> 00:00:42,751 ‫Now you technically, don't have to use ‫Visual Studio Code in this course, but 13 00:00:42,751 --> 00:00:46,381 ‫I think it's the best editor right now ‫for DevOps and it's what I'm going to be 14 00:00:46,381 --> 00:00:48,871 ‫using, and I encourage you to try it out. 15 00:00:49,840 --> 00:00:56,305 ‫Docker Desktop is still the easiest and ‫best way to use Docker and Kubernetes 16 00:00:56,310 --> 00:00:58,285 ‫combined on your local machine. 17 00:00:58,645 --> 00:01:00,175 ‫So I'm going to be recommending that. 18 00:01:00,175 --> 00:01:02,575 ‫Now there are a lot of ‫other ways to use Docker. 19 00:01:02,806 --> 00:01:07,456 ‫I have a spreadsheet that I'll link to in ‫the resources for this lecture that give 20 00:01:07,456 --> 00:01:09,496 ‫you other options beyond Docker Desktop. 21 00:01:09,736 --> 00:01:12,386 ‫But Docker Desktop really, it's ‫got, it's got everything you need. 22 00:01:12,987 --> 00:01:17,852 ‫And with Windows 10 and 11, ‫Docker shifted to using WSL2. 23 00:01:18,022 --> 00:01:20,992 ‫If you're not familiar with the ‫Windows subsystem for Linux, it's 24 00:01:20,992 --> 00:01:23,182 ‫the best way to run Linux on Windows. 25 00:01:23,182 --> 00:01:26,692 ‫It's built into the operating system, ‫it's a native feature of Windows 26 00:01:27,387 --> 00:01:31,287 ‫straight from Microsoft, and it works ‫really smoothly with Docker Desktop. 27 00:01:31,407 --> 00:01:34,557 ‫So during the install, it's ‫going to set up that for you, 28 00:01:34,557 --> 00:01:35,667 ‫if you don't already have that. 29 00:01:36,489 --> 00:01:41,199 ‫So here's the basic steps for ‫setting up Docker Desktop if you've 30 00:01:41,199 --> 00:01:42,679 ‫not done any of this stuff before. 31 00:01:43,544 --> 00:01:46,950 ‫And the Docker docs are amazing, ‫so you will spend a lot of 32 00:01:46,950 --> 00:01:48,090 ‫time here in this course. 33 00:01:48,120 --> 00:01:50,200 ‫There's so much information ‫in the Docker docs. 34 00:01:50,490 --> 00:01:53,670 ‫And that tells you how to ‫install a Docker, of course. 35 00:01:54,000 --> 00:01:56,760 ‫Down below, you'll see a link ‫to download the executable, the 36 00:01:56,765 --> 00:01:58,650 ‫installer, and that'll get us started. 37 00:01:59,671 --> 00:02:03,121 ‫Now, one of the first options you'll see ‫on the screen when you start installing 38 00:02:03,126 --> 00:02:05,591 ‫Docker Desktop is asking you about WSL2. 39 00:02:05,941 --> 00:02:08,911 ‫The old way that Docker Desktop ‫used to work years ago was with 40 00:02:08,916 --> 00:02:13,411 ‫Hyper-V, and it was a full VM ‫running Linux and Docker inside it. 41 00:02:13,781 --> 00:02:18,451 ‫WSL2 is more efficient on your battery, ‫it's more efficient on your CPU and 42 00:02:18,451 --> 00:02:22,111 ‫resources, so generally we're going ‫to want to do that option if you can. 43 00:02:22,525 --> 00:02:26,425 ‫Then, once your installation is ‫succeeded, it's only partly configured. 44 00:02:26,455 --> 00:02:28,885 ‫It's actually going to take ‫a few more steps, especially 45 00:02:28,885 --> 00:02:30,925 ‫if you've never done WSL. 46 00:02:31,588 --> 00:02:36,598 ‫And as a reminder here, Docker Desktop ‫has a license and it's not always 47 00:02:36,598 --> 00:02:39,418 ‫free, but it's always free to learn. 48 00:02:39,698 --> 00:02:44,258 ‫And I've got confirmation from management ‫at Docker that this is exactly the 49 00:02:44,263 --> 00:02:48,248 ‫reason they have a learning license, so ‫you can take courses like mine to make 50 00:02:48,248 --> 00:02:52,928 ‫sure that any enterprise or business ‫or personal use that you intend to use, 51 00:02:53,348 --> 00:02:58,058 ‫and some of those are requiring a paid ‫license, that you can still learn Docker 52 00:02:58,063 --> 00:03:02,288 ‫in this course, and in other learning ‫materials free on Docker Desktop. 53 00:03:03,117 --> 00:03:06,117 ‫In fact, you'll see a screen similar ‫to this, that basically means 54 00:03:06,117 --> 00:03:07,557 ‫you need to agree to their EULA. 55 00:03:07,767 --> 00:03:12,327 ‫And it indicates in there that it remains ‫free for learning, and you'll just need 56 00:03:12,327 --> 00:03:14,907 ‫to click the I accept button and move on. 57 00:03:15,644 --> 00:03:19,004 ‫Now, as a part of this install, ‫you're going to do several things to 58 00:03:19,004 --> 00:03:20,534 ‫the Windows host operating system. 59 00:03:20,804 --> 00:03:24,974 ‫One of those is WSL2 will be ‫installed and then it also will 60 00:03:24,979 --> 00:03:26,684 ‫need a Linux kernel update. 61 00:03:26,864 --> 00:03:29,594 ‫So there might be ‫several reboots involved. 62 00:03:29,954 --> 00:03:34,780 ‫Once you've installed WSL, you'll ‫get this message saying, Hey, I 63 00:03:34,780 --> 00:03:38,920 ‫need to reboot because WSL requires ‫a reboot of the host bring system. 64 00:03:39,946 --> 00:03:44,716 ‫But after that reboot, you may get an ‫additional setup here and you'll notice 65 00:03:44,896 --> 00:03:48,466 ‫Windows Subsystem for Linux update setup. 66 00:03:48,706 --> 00:03:53,266 ‫So this is an extra little step that ‫will make sure that the Linux kernel 67 00:03:53,536 --> 00:03:59,056 ‫inside of your WSL gets updated to a ‫newer version, and then that actually 68 00:03:59,056 --> 00:04:00,966 ‫becomes a part of your Windows update. 69 00:04:01,606 --> 00:04:06,221 ‫And my understanding is, Windows wanted ‫to keep this separate so that you didn't 70 00:04:06,221 --> 00:04:11,061 ‫have to update the full Windows host in ‫order to get a new updated Linux kernel. 71 00:04:11,706 --> 00:04:15,846 ‫Now, once you see a screen like this, ‫that's a little blue window that is 72 00:04:15,846 --> 00:04:19,896 ‫known as the Docker Dashboard, that ‫means everything is finally working. 73 00:04:20,256 --> 00:04:24,696 ‫And you can use the internal tutorial, ‫but you know, you bought my course, 74 00:04:24,696 --> 00:04:27,066 ‫so why not just do my course? 75 00:04:27,096 --> 00:04:29,766 ‫So you can skip the tutorial right ‫there, or of course it doesn't 76 00:04:29,766 --> 00:04:32,976 ‫hurt to get your intro to Docker ‫in the Start button up there. 77 00:04:33,396 --> 00:04:35,936 ‫I'm going to go ahead and skip this ‫tutorial and give you some tips. 78 00:04:36,574 --> 00:04:40,504 ‫Now here's a tip that can prevent ‫a possible error in the future of 79 00:04:40,504 --> 00:04:43,414 ‫this course, when you're downloading ‫lots of stuff with Docker. 80 00:04:43,744 --> 00:04:47,524 ‫A Docker download of an image, so ‫you can run containers is called 81 00:04:47,529 --> 00:04:49,564 ‫a pull, kind of like a Git pull. 82 00:04:49,804 --> 00:04:54,424 ‫And that requires access ‫to the Docker Hub website. 83 00:04:54,664 --> 00:04:59,074 ‫Now, you normally get 100 downloads ‫every six hours, at least that's the 84 00:04:59,074 --> 00:05:01,084 ‫current limit without logging in. 85 00:05:01,114 --> 00:05:05,564 ‫But if you log in with a free Docker ‫ID, you can get twice as many pulls. 86 00:05:05,584 --> 00:05:10,054 ‫200 pulls, in fact, And you can log in, ‫pay for more and even get more pulls, 87 00:05:10,054 --> 00:05:11,224 ‫but we don't need to pay for right now. 88 00:05:11,224 --> 00:05:12,364 ‫We don't need to pay for anything, right? 89 00:05:12,364 --> 00:05:14,644 ‫We're just going to ‫download stuff and learn. 90 00:05:14,854 --> 00:05:18,524 ‫So I recommend going to hub.docker.com. 91 00:05:18,814 --> 00:05:21,934 ‫Links are in the references for ‫this lecture, creating your free 92 00:05:21,934 --> 00:05:25,174 ‫Docker account, and then if you ‫log into Docker Desktop with it, 93 00:05:25,174 --> 00:05:28,054 ‫you get way more pulls of images. 94 00:05:28,574 --> 00:05:33,644 ‫And in case you get an error when you try ‫to start up Docker, or you try to use a 95 00:05:33,644 --> 00:05:37,844 ‫Docker command and it's not running and it ‫doesn't run properly and you get various 96 00:05:37,844 --> 00:05:39,884 ‫errors, you might see something like this. 97 00:05:40,744 --> 00:05:45,934 ‫This error is telling you that you don't ‫have the extensions enabled on your 98 00:05:45,939 --> 00:05:49,684 ‫CPU in the BIOS for virtualization. 99 00:05:50,044 --> 00:05:53,434 ‫This course requires Docker ‫running locally in Docker 100 00:05:53,434 --> 00:05:55,204 ‫Desktop to run virtualization. 101 00:05:55,234 --> 00:05:57,004 ‫That's how Docker Desktop works. 102 00:05:57,094 --> 00:06:00,814 ‫Unless we're running on a Linux ‫server somewhere, there's usually 103 00:06:00,814 --> 00:06:03,474 ‫no virtualization needed there, ‫it runs natively on Linux. 104 00:06:03,724 --> 00:06:08,244 ‫But on Windows and Mac and even ‫a Linux Desktop, we will be using 105 00:06:08,244 --> 00:06:12,774 ‫a virtual machine on our local ‫hardware to run Linux and Docker. 106 00:06:13,014 --> 00:06:17,574 ‫It's actually safer that way, more secure ‫for Docker to run inside of an enclave, 107 00:06:17,904 --> 00:06:22,224 ‫and in order to do that, we need the ‫BIOS extensions for virtualization. 108 00:06:22,567 --> 00:06:26,067 ‫So this probably indicates that you've ‫never run virtualization on this computer 109 00:06:26,067 --> 00:06:31,137 ‫before, something like VirtualBox, if ‫you've heard of that, Parallels, VMware. 110 00:06:31,537 --> 00:06:33,997 ‫There's all sorts of ‫virtualization software. 111 00:06:34,267 --> 00:06:38,677 ‫Now Docker comes with its own, but it ‫needs those BIOS extensions enabled. 112 00:06:38,917 --> 00:06:42,067 ‫So you're going to need to check ‫your specific BIOS on your specific 113 00:06:42,072 --> 00:06:47,917 ‫hardware to make sure that anything ‫related to VTX or Intel Virtualization 114 00:06:47,917 --> 00:06:50,497 ‫Extensions, or there's a whole ‫bunch of different names for it. 115 00:06:50,677 --> 00:06:54,007 ‫Just look for something around ‫VT, VTX or virtualization. 116 00:06:54,097 --> 00:06:55,997 ‫Enable that, and then this should go away. 117 00:06:56,657 --> 00:07:00,457 ‫Now here's some tweaks I recommend on ‫your Docker Desktop setup to get the 118 00:07:00,457 --> 00:07:04,747 ‫best out of its utilization and the ‫speed that you would need to make it go 119 00:07:04,747 --> 00:07:06,907 ‫fast and just make this course easier. 120 00:07:07,407 --> 00:07:10,947 ‫Now, in order to get to the settings ‫of Docker on Windows, you need to go 121 00:07:10,947 --> 00:07:15,237 ‫down to your system tray, down at the ‫bottom-right, and find the Moby icon. 122 00:07:15,237 --> 00:07:18,027 ‫If it's not there, then Docker ‫Desktop probably isn't running. 123 00:07:18,357 --> 00:07:20,697 ‫And right-click on this ‫guy, his name is Moby. 124 00:07:20,877 --> 00:07:22,167 ‫Yes, he's the mascot. 125 00:07:22,437 --> 00:07:24,887 ‫And underneath that icon, when ‫you right-click, you'll see a 126 00:07:24,887 --> 00:07:28,807 ‫Settings option that will get you ‫to all the settings inside Docker. 127 00:07:29,465 --> 00:07:33,400 ‫And once you right-click, you'll see ‫this screen and look for the Settings 128 00:07:33,400 --> 00:07:35,195 ‫option to get to the Settings menu. 129 00:07:35,975 --> 00:07:39,605 ‫Once you're in the settings, you can poke ‫around, but one that you'll want to pay 130 00:07:39,605 --> 00:07:41,495 ‫attention to is this particular screen. 131 00:07:41,915 --> 00:07:43,745 ‫This has to do with your shell. 132 00:07:44,165 --> 00:07:50,315 ‫And in WSL, Windows Subsystem for ‫Linux, we need to use a Linux shell to 133 00:07:50,320 --> 00:07:53,435 ‫get into that VM that WSL runs for us. 134 00:07:54,035 --> 00:07:56,945 ‫And in Docker, it's ‫going to show them here. 135 00:07:57,245 --> 00:08:03,890 ‫Anytime you install another subsystem, ‫whether it's Ubuntu or Debian or any of 136 00:08:03,890 --> 00:08:08,240 ‫the Linux distributions, you'll start to ‫see them show up here and you'll want to 137 00:08:08,240 --> 00:08:10,760 ‫enable them for Docker Desktop support. 138 00:08:11,374 --> 00:08:14,734 ‫And this gets us a little bit into ‫WSL in case you're new to that. 139 00:08:14,734 --> 00:08:16,894 ‫But Window Subsystem ‫for Linux is fantastic. 140 00:08:16,894 --> 00:08:18,304 ‫Kind of said that already, right? 141 00:08:18,574 --> 00:08:22,744 ‫But when you go into the Windows store, ‫you can download different distributions. 142 00:08:23,014 --> 00:08:27,994 ‫And you need one preferably, in order ‫to interact with Docker in Linux. 143 00:08:28,144 --> 00:08:31,234 ‫Now technically, Docker Desktop ‫can still allow you to interact 144 00:08:31,234 --> 00:08:35,254 ‫with it from your Windows host, ‫but I recommend getting into Linux. 145 00:08:35,344 --> 00:08:38,284 ‫It's where all your containers are ‫going to run on servers anyway. 146 00:08:38,464 --> 00:08:41,974 ‫So you might as well start getting ‫used to it locally on your machine, 147 00:08:42,004 --> 00:08:43,894 ‫and this is a great way to do that. 148 00:08:44,194 --> 00:08:50,316 ‫Go to the store, search for Ubuntu ‫and download Ubuntu's WSL option. 149 00:08:50,436 --> 00:08:55,776 ‫And it's a mini little Linux VM, and ‫it doesn't take up a lot of space or 150 00:08:55,781 --> 00:08:57,216 ‫use up a lot of memory by default. 151 00:08:57,216 --> 00:08:58,506 ‫So it's okay to run. 152 00:08:58,566 --> 00:09:01,926 ‫And once you click that Get ‫button, it'll download and install. 153 00:09:02,916 --> 00:09:06,966 ‫Then that button should change to Open, ‫which when you click it, will open a 154 00:09:06,971 --> 00:09:11,396 ‫shell using bash right into that Linux VM. 155 00:09:11,982 --> 00:09:15,582 ‫And on the first time you run it, ‫you'll get prompted to create an 156 00:09:15,587 --> 00:09:19,092 ‫account, because your Windows account ‫is not going to be the same as 157 00:09:19,092 --> 00:09:21,492 ‫the Linux account in this WSL VM. 158 00:09:21,792 --> 00:09:25,272 ‫So you can create the same username ‫and password or something completely 159 00:09:25,272 --> 00:09:29,327 ‫different, but you'll need to remember ‫this, so you can get back into WSL later. 160 00:09:30,066 --> 00:09:34,176 ‫Now, once I've done that, I will ‫be at the Ubuntu bash shell. 161 00:09:34,536 --> 00:09:38,706 ‫And the way I can test this is ‫just to type Docker version. 162 00:09:38,916 --> 00:09:41,706 ‫You'll get back the version ‫of the client and the server. 163 00:09:41,976 --> 00:09:43,746 ‫Hopefully, that will ‫not give you an error. 164 00:09:43,926 --> 00:09:45,826 ‫We'll talk more about ‫that in the next section. 165 00:09:46,543 --> 00:09:51,278 ‫If you're into security stuff and maybe ‫learning a little bit of whitehat hacking. 166 00:09:51,608 --> 00:09:55,508 ‫Total side note, but another great ‫variant or distribution of Linux 167 00:09:55,508 --> 00:09:58,008 ‫that you can install in WSL is Kali. 168 00:09:58,058 --> 00:09:58,808 ‫Kali Linux. 169 00:09:59,018 --> 00:10:02,828 ‫It's not related to this course, ‫but once you've installed multiple 170 00:10:02,833 --> 00:10:07,088 ‫WSL distributions, which you totally ‫can, but you don't have to, you can 171 00:10:07,088 --> 00:10:08,648 ‫just install one for this course. 172 00:10:08,828 --> 00:10:12,248 ‫But once you've picked a couple, ‫you'll need to go back into the Docker 173 00:10:12,248 --> 00:10:16,498 ‫settings to make sure that each of ‫those shells is enabled for Docker. 174 00:10:16,953 --> 00:10:22,383 ‫You'll see here that I've enabled both ‫Kali and Ubuntu in my WSL, and I need 175 00:10:22,383 --> 00:10:25,593 ‫to come back in here to Docker settings ‫because this won't happen by default. 176 00:10:25,653 --> 00:10:29,613 ‫And I need to click those little ‫toggles to enable Docker for 177 00:10:29,618 --> 00:10:31,743 ‫each one of those WSL subsystems. 178 00:10:32,423 --> 00:10:35,153 ‫And there we go, they should be ‫blue, and now we can start running 179 00:10:35,153 --> 00:10:37,913 ‫Docker commands from inside WSL. 180 00:10:38,845 --> 00:10:42,895 ‫Now years ago, when Docker Desktop came ‫out, and it was only going to support 181 00:10:42,895 --> 00:10:48,205 ‫Hyper-V at the time, because WSL2 didn't ‫exist, there was this limitation where we 182 00:10:48,205 --> 00:10:51,715 ‫really needed to run Docker from Windows. 183 00:10:51,720 --> 00:10:54,805 ‫That's from PowerShell or ‫from CMD, the command prompt. 184 00:10:55,165 --> 00:10:56,095 ‫But no more. 185 00:10:56,245 --> 00:10:59,395 ‫I don't recommend you do that ‫because the commands are different. 186 00:10:59,665 --> 00:11:01,945 ‫The options you have at the ‫command line are different. 187 00:11:02,235 --> 00:11:05,775 ‫Different things are subtle that kind ‫of get in the way of you doing what 188 00:11:05,775 --> 00:11:09,255 ‫you need to do, because the rest of ‫us on Mac and Linux are all using 189 00:11:09,255 --> 00:11:12,515 ‫bash and ZSH and shells from Unix. 190 00:11:12,725 --> 00:11:16,475 ‫But in here with Windows, we ‫technically have PowerShell and the 191 00:11:16,475 --> 00:11:18,545 ‫older command prompt, but no more. 192 00:11:18,725 --> 00:11:22,923 ‫Microsoft is recommending you'd use ‫something new called the Windows 193 00:11:22,923 --> 00:11:26,463 ‫terminal, which is automatically ‫installed on Windows 11. 194 00:11:26,463 --> 00:11:30,086 ‫But on Windows 10, you can get it ‫for free from Microsoft in the store. 195 00:11:30,535 --> 00:11:31,675 ‫And this is what it looks like. 196 00:11:31,675 --> 00:11:35,665 ‫If you go to the Windows store to download ‫Windows terminal, you'll get this one. 197 00:11:35,665 --> 00:11:38,545 ‫It's officially from Microsoft, ‫so you know, that's the right one. 198 00:11:38,992 --> 00:11:44,672 ‫And then you can run that and it ‫will run the PowerShell shell, as 199 00:11:44,672 --> 00:11:49,712 ‫well as your WSL shells and also ‫the old, old command prompt that 200 00:11:49,717 --> 00:11:51,672 ‫we've had since like Windows 3. 201 00:11:52,011 --> 00:11:53,271 ‫And you'll see these options. 202 00:11:53,271 --> 00:11:57,321 ‫When you start a new shell, you'll ‫see whatever WSLs you've installed. 203 00:11:57,441 --> 00:11:59,481 ‫It will keep them updated in this list. 204 00:11:59,871 --> 00:12:03,051 ‫And you can even customize Windows ‫terminal to make new ones of these, 205 00:12:03,171 --> 00:12:06,741 ‫custom versions of these with ‫different fonts and colors and themes. 206 00:12:07,341 --> 00:12:08,091 ‫Go nuts. 207 00:12:08,331 --> 00:12:11,691 ‫But it doesn't really matter what you do, ‫you're just going to be able to use this 208 00:12:11,901 --> 00:12:16,281 ‫to get a bash shell, which will give you ‫compatibility at the command line for 209 00:12:16,281 --> 00:12:19,421 ‫all the Docker commands and Kubernetes ‫commands we'll run in this course. 210 00:12:19,771 --> 00:12:21,901 ‫So for me, I'm going to do Ubuntu. 211 00:12:22,111 --> 00:12:25,501 ‫I think Ubuntu is one of the best ‫operating systems on the planet 212 00:12:25,651 --> 00:12:30,001 ‫for Linux and Linux, there's lots ‫of distributions, tons of them. 213 00:12:30,181 --> 00:12:34,321 ‫But I think Ubuntu is a great one when ‫you're first learning your shells and 214 00:12:34,321 --> 00:12:37,711 ‫your command and tutorials, there's ‫so much out there on the internet 215 00:12:37,711 --> 00:12:41,071 ‫for help for free for Ubuntu, and ‫it's one of the best-supported 216 00:12:41,221 --> 00:12:43,061 ‫Linux distributions for Docker. 217 00:12:43,211 --> 00:12:45,491 ‫So I'm definitely going to be ‫using it throughout this course. 218 00:12:46,131 --> 00:12:47,331 ‫Here's a little pro tip. 219 00:12:47,511 --> 00:12:51,501 ‫You can change the Windows terminal ‫to be your default terminal for 220 00:12:51,506 --> 00:12:53,481 ‫anything you need to run in Windows. 221 00:12:53,721 --> 00:12:57,701 ‫Normally in the past, it's been ‫PowerShell or command prompt, which 222 00:12:57,701 --> 00:13:00,296 ‫are now legacy terminal Windows. 223 00:13:00,386 --> 00:13:03,956 ‫There's still shells inside the ‫terminal window, but the GUI, as 224 00:13:03,956 --> 00:13:07,196 ‫we call the terminal, that's what ‫you want to run Windows terminal. 225 00:13:07,346 --> 00:13:10,856 ‫So go up there to that default ‫profile and change it from Windows 226 00:13:10,886 --> 00:13:13,526 ‫PowerShell to bash and WSL. 227 00:13:13,796 --> 00:13:19,076 ‫And then you can also change the default ‫terminal application to Windows terminal. 228 00:13:19,196 --> 00:13:23,406 ‫That way you always are launching ‫the latest terminal GUI and the bash 229 00:13:23,406 --> 00:13:25,686 ‫shell inside of WSL as your default. 230 00:13:26,226 --> 00:13:28,776 ‫Cool, I just changed my ‫top two options there. 231 00:13:28,836 --> 00:13:32,586 ‫That's my preference, you don't have to ‫do that, but it will make launching and 232 00:13:32,586 --> 00:13:34,176 ‫starting things in this course easier. 233 00:13:34,539 --> 00:13:37,239 ‫Now, remember that Docker version ‫command I told you to run? 234 00:13:37,449 --> 00:13:38,829 ‫You can go ahead and run this now. 235 00:13:38,859 --> 00:13:41,139 ‫We're going to run it in the next ‫section just to make sure everything's 236 00:13:41,139 --> 00:13:44,529 ‫running correctly, but you'll get ‫back client and server versions, 237 00:13:44,649 --> 00:13:46,409 ‫if everything is up to snuff. 238 00:13:47,211 --> 00:13:51,126 ‫Now, If you don't know what ‫Visual Studio Code is, I love it. 239 00:13:51,216 --> 00:13:56,196 ‫It is my favorite DevOps editor, and it's ‫technically a full-fledged code editor. 240 00:13:56,226 --> 00:13:59,706 ‫Has tons of stuff and support for ‫every language that I can think of. 241 00:14:00,036 --> 00:14:05,836 ‫But it's also a great DevOps language ‫editor for the YAML that you're going 242 00:14:05,836 --> 00:14:07,896 ‫to learn about, the Docker files ‫that you're going to learn about, 243 00:14:08,381 --> 00:14:09,911 ‫all the different files that we do. 244 00:14:09,911 --> 00:14:13,601 ‫It's not technically code, it's more ‫of a data language structure, a lot of 245 00:14:13,601 --> 00:14:15,251 ‫these things or a scripting structure. 246 00:14:15,401 --> 00:14:18,701 ‫So don't worry, you don't have to know ‫how to code to do Docker or Kubernetes. 247 00:14:18,971 --> 00:14:24,431 ‫But it has Docker and Kubernetes features ‫in it, if you add the extensions, and 248 00:14:24,431 --> 00:14:26,991 ‫it has great support for running in WSL. 249 00:14:27,471 --> 00:14:31,971 ‫And if you're interested in more of the ‫advanced features in Visual Studio Code, 250 00:14:31,971 --> 00:14:35,421 ‫the extensions you might want to use and ‫all that, there's a video later in this 251 00:14:35,421 --> 00:14:37,041 ‫section that'll give you more details. 252 00:14:37,251 --> 00:14:40,751 ‫Because this editor works everywhere, ‫Linux desktops, Macs, Windows, 253 00:14:41,379 --> 00:14:44,079 ‫it's what I use every day for years now. 254 00:14:44,789 --> 00:14:47,279 ‫Now let's talk about ‫getting the course repo. 255 00:14:47,519 --> 00:14:52,709 ‫The repository for this course is ‫available in a link in this lecture. 256 00:14:52,829 --> 00:14:55,709 ‫It's available in the previous lecture ‫that actually had all the links for 257 00:14:55,709 --> 00:14:57,749 ‫all this stuff in a written form. 258 00:14:57,959 --> 00:15:01,619 ‫And it is something that you're ‫going to want to clone down 259 00:15:01,619 --> 00:15:03,359 ‫into your Linux subsystem. 260 00:15:03,704 --> 00:15:06,914 ‫It turns out with Docker, because ‫Docker is running in Linux, it's 261 00:15:06,914 --> 00:15:11,509 ‫actually faster for you to do stuff ‫with these code examples I'm going to 262 00:15:11,509 --> 00:15:14,954 ‫give you and all the different Docker ‫files and Compose and Kubernetes, 263 00:15:14,959 --> 00:15:16,334 ‫and we're going to get to all that. 264 00:15:16,484 --> 00:15:20,654 ‫But it turns out that that stuff is ‫better in Linux, so it's better if you 265 00:15:20,654 --> 00:15:26,569 ‫Git clone into the Linux subsystem file ‫system, which is different than your host. 266 00:15:26,779 --> 00:15:35,219 ‫The way to know is if you're in a ‫/user/username, rather than in a C:\Users. 267 00:15:35,239 --> 00:15:40,909 ‫If that's a C:\ on your path, that means ‫you're in the host file system, and 268 00:15:40,909 --> 00:15:45,289 ‫I'd rather you get into your Windows ‫terminal inside of that WSL, like 269 00:15:45,289 --> 00:15:50,854 ‫Ubuntu, and once you're in there, clone ‫into that location this repository. 270 00:15:51,384 --> 00:15:52,614 ‫It'll work better from there. 271 00:15:53,253 --> 00:15:56,463 ‫Now over on GitHub for this ‫repository, you can click on the 272 00:15:56,463 --> 00:16:02,643 ‫green Code button to copy or clone ‫this repository down with a simple 273 00:16:02,643 --> 00:16:06,123 ‫command: git clone and then the URL. 274 00:16:06,843 --> 00:16:13,593 ‫Git is going to be in your Ubuntu or ‫typical Linux WSL distribution, so 275 00:16:13,593 --> 00:16:15,133 ‫you'll have the git command already. 276 00:16:15,869 --> 00:16:16,529 ‫All right. 277 00:16:16,769 --> 00:16:19,949 ‫If you're a Windows user, which you ‫were watching this video, hopefully 278 00:16:19,949 --> 00:16:23,429 ‫because you're a Windows user, then ‫you've got Docker Desktop, you've 279 00:16:23,429 --> 00:16:27,509 ‫got the repository, you've got an ‫editor, maybe Visual Studio Code. 280 00:16:27,689 --> 00:16:32,489 ‫You've downloaded that repository ‫into your WSL, and you're ready to 281 00:16:32,489 --> 00:16:36,959 ‫start using the examples inside the ‫repository and running Docker commands. 282 00:16:37,199 --> 00:16:40,109 ‫Later in the course, we'll get to ‫Kubernetes commands and how Docker 283 00:16:40,109 --> 00:16:44,054 ‫Desktop enables Kubernetes in the ‫options, but we'll worry about 284 00:16:44,054 --> 00:16:45,434 ‫that once we get to Kubernetes. 285 00:16:45,907 --> 00:16:49,177 ‫For now, you can choose to watch ‫the rest of the videos in this 286 00:16:49,177 --> 00:16:51,667 ‫section or skip them for now. 287 00:16:51,672 --> 00:16:52,867 ‫And that's my recommendation. 288 00:16:53,017 --> 00:16:57,007 ‫Skip the operating system that you ‫are not using, even Linux server. 289 00:16:57,007 --> 00:17:00,387 ‫If you don't plan on using a Linux ‫server until way later in this course, 290 00:17:00,717 --> 00:17:03,577 ‫you don't need to know how to set ‫up Docker in it yet, you're just 291 00:17:03,577 --> 00:17:06,757 ‫going to focus on using it locally ‫on your machine, that's totally fine. 292 00:17:06,997 --> 00:17:11,227 ‫And keep the rest of these videos in this ‫section to come back to as a reference. 293 00:17:11,527 --> 00:17:13,687 ‫But move on to the next section ‫if you think you're ready.