1 00:00:00,600 --> 00:00:05,430 In last section we started talking about using Docker for Windows or Docker for Mac to get access to 2 00:00:05,430 --> 00:00:10,800 the docker client and the server in the section we're going to walk to the set up process on a Mac OS 3 00:00:10,800 --> 00:00:11,620 machine. 4 00:00:11,700 --> 00:00:17,010 So if you are using windows right now then pause this video and skip over to the next lecture. 5 00:00:17,130 --> 00:00:17,510 All right. 6 00:00:17,540 --> 00:00:21,780 So if you're still here I'm going to assume that you are on a Mac OS based machine. 7 00:00:21,780 --> 00:00:23,160 So here's what we need to do. 8 00:00:23,190 --> 00:00:27,990 We're going to first go to Dr. Dot Com inside of our browser where we are going to sign up for a Docker 9 00:00:27,990 --> 00:00:29,550 Hub account. 10 00:00:29,550 --> 00:00:34,890 We need a doctor hub account not only to download the docker for Mac client but we also need it for 11 00:00:34,890 --> 00:00:38,170 some stuff that we're going to do later on INSIDE THE COURSE. 12 00:00:38,220 --> 00:00:41,200 After that we're going to download the installer package. 13 00:00:41,280 --> 00:00:42,670 We're going to log into Docker. 14 00:00:42,720 --> 00:00:47,010 And then finally we're going to verify our installation by running one or two quick commands. 15 00:00:47,010 --> 00:00:52,440 So let's get to it again the first thing we'll do is navigate to Docker dot com inside of our browser 16 00:00:53,590 --> 00:00:55,550 so I'm going to go to Dr. Dot com. 17 00:00:55,910 --> 00:00:59,340 And then on the top right hand side you'll see a button that says get started. 18 00:00:59,740 --> 00:01:05,900 So I going to click on that I'm then going to make sure that I'm on the developer tab and then I'll 19 00:01:05,900 --> 00:01:10,280 find a download for Mac over here on the right hand side. 20 00:01:10,280 --> 00:01:13,800 Now when I click on that button It's going to take me to another page. 21 00:01:13,850 --> 00:01:17,400 This is the page that we're going to ultimately download this program from. 22 00:01:17,480 --> 00:01:22,610 But you'll notice that before we download it we have to actually sign up for an account and log in to 23 00:01:22,610 --> 00:01:23,090 Docker. 24 00:01:23,690 --> 00:01:28,790 So I'm going to click on it please log in to download right there and then we get prompted with a log 25 00:01:28,790 --> 00:01:29,740 in screen. 26 00:01:29,750 --> 00:01:34,670 Now if you do not already have an account you can find the Create Account button down here on the bottom 27 00:01:34,670 --> 00:01:40,470 right hand side so going to open up that page very quickly you'll notice that one of the first inputs 28 00:01:40,470 --> 00:01:43,590 that you have to enter on the sign up page is a docker I.D.. 29 00:01:43,980 --> 00:01:46,020 This is a user name of sorts. 30 00:01:46,020 --> 00:01:49,160 And it is going to be publicly visible to other people. 31 00:01:49,200 --> 00:01:53,640 We're going to need your Docker I.D. quite a bit throughout the remainder of this course. 32 00:01:53,640 --> 00:01:58,020 So no matter what you choose for your Docker I.D. right here please make sure that it's something that 33 00:01:58,020 --> 00:02:00,910 you're going to remember OK. 34 00:02:00,940 --> 00:02:06,490 So once you sign up for your account we'll go ahead and log in and go back to this store page right 35 00:02:06,490 --> 00:02:07,460 here. 36 00:02:07,480 --> 00:02:10,800 So now that I'm signed in I can see the get Docker button right here. 37 00:02:10,990 --> 00:02:12,750 So I'm going to go ahead and click that. 38 00:02:12,880 --> 00:02:14,800 And that's going to start up the download. 39 00:02:14,800 --> 00:02:16,520 Now this is a rather large file. 40 00:02:16,540 --> 00:02:22,090 So just to save a little bit of time in this lecture I went ahead and already downloaded the package. 41 00:02:22,330 --> 00:02:28,980 So once this thing has successfully downloaded on your machine we're going to open it up it's going 42 00:02:28,980 --> 00:02:31,080 to take just a second or two to do it a little bit. 43 00:02:31,080 --> 00:02:36,820 Of course always need some extra time right and then once it's finally done it's going to open up a 44 00:02:36,820 --> 00:02:38,370 window that looks like this right here. 45 00:02:38,380 --> 00:02:43,480 And so as you might guess we're going to do a little drag and drop over to the applications folder. 46 00:02:43,540 --> 00:02:48,520 Now once you copy that thing over we now have to start up Docker on your machine. 47 00:02:48,550 --> 00:02:53,560 You can do this by either opening up your launch pad right here and you can find a new Docker program 48 00:02:53,560 --> 00:02:57,570 listed or inside of any folder Explorer window. 49 00:02:57,670 --> 00:03:03,420 You can go to the application section over here and find the listing for Docker. 50 00:03:03,440 --> 00:03:07,850 Now once you get this thing copied over and installed we're going to launch Docker by double clicking 51 00:03:07,850 --> 00:03:09,640 it the first time you do this. 52 00:03:09,650 --> 00:03:14,060 It's going to appear that nothing at all is happening but if you look up at the top right hand side 53 00:03:14,060 --> 00:03:18,720 of your screen you'll see this little kind of whale icon with a set of boxes on it. 54 00:03:18,860 --> 00:03:24,730 And if you click on that you'll see something that says Docker is starting all right after a minute 55 00:03:24,730 --> 00:03:28,970 or two it's going to eventually resolve in the boxes you are going to go completely steady. 56 00:03:29,140 --> 00:03:32,220 And that means that everything is done and setup on your local machine. 57 00:03:32,350 --> 00:03:33,780 Again it might take a minute or two. 58 00:03:33,790 --> 00:03:38,010 So give it a little bit of time to get through all of its little steps. 59 00:03:38,020 --> 00:03:38,370 All right. 60 00:03:38,380 --> 00:03:42,850 Now you'll notice that my little boxes have steadied out which means that Docker has successfully booted 61 00:03:42,850 --> 00:03:43,460 up. 62 00:03:43,690 --> 00:03:46,920 It's now the last thing that we're going to do is make sure that we log into Docker. 63 00:03:47,470 --> 00:03:51,730 So you're going to click on this little button and you're going to see a button right here so that says 64 00:03:51,790 --> 00:03:54,300 log in with Docker when you click on that. 65 00:03:54,340 --> 00:03:59,110 It's going to pop open a little window where you're going to enter in your Docker I.D. remember that's 66 00:03:59,110 --> 00:04:00,930 the user name not your e-mail. 67 00:04:00,930 --> 00:04:04,470 So it's the doctor I.D. and your password. 68 00:04:04,480 --> 00:04:09,880 Now once you do that the very last thing that we need to do is we need to make sure that we can verify 69 00:04:09,880 --> 00:04:11,670 that everything was set up correctly. 70 00:04:11,740 --> 00:04:14,670 And so for this you're going to open up your terminal. 71 00:04:15,100 --> 00:04:20,920 You can open up your terminal in any folder doesn't matter and we're going to run a single command Docker 72 00:04:20,980 --> 00:04:25,450 version like some as long as you see something like this appear on the screen. 73 00:04:25,460 --> 00:04:29,690 That means that you are all set and you're good to go if you don't see something like this. 74 00:04:29,720 --> 00:04:33,540 If you get an error message it means that something went wrong with the installation process. 75 00:04:33,680 --> 00:04:38,390 And you'll want to hop over to the queue and a section attached to this lecture where we'll do a little 76 00:04:38,390 --> 00:04:40,170 bit of troubleshooting. 77 00:04:40,190 --> 00:04:40,480 All right. 78 00:04:40,490 --> 00:04:41,000 That's it. 79 00:04:41,090 --> 00:04:44,090 Let's take a quick pause right here and we'll continue in the next section.