Latest / CyberCode Academy / Course 31 - Dive Into Docker | Episode 4: Editions, Versioning, and Installation Guide
Transcript
- 0:00Speaker 1: So imagine waking up tomorrow, you grab your phone, and
- 0:03Speaker 1: you notice your operating system has just inexplicably jumped from
- 0:07Speaker 1: version one all the way to version seventeen overnight.
- 0:10Speaker 2: I mean, you'd probably think the phone was completely bricked, right.
- 0:13Speaker 1: You'd think it's glitching out or I don't know, maybe
- 0:15Speaker 1: you just slept through an entire decade.
- 0:17Speaker 2: Yeah, it would be terrifying.
- 0:19Speaker 1: But back in early twenty seventeen, the developers behind Docker
- 0:22Speaker 1: actually did exactly that. They skipped sixteen major versions in
- 0:28Speaker 1: the blink of an eye.
- 0:29Speaker 2: Which was a massive shock to the system for basically
- 0:32Speaker 2: anyone working in tech at the time. Oh I bet,
- 0:34Speaker 2: but you know it was also this stroke of absolute
- 0:37Speaker 2: genius that ended up solving a massive operational headache.
- 0:41Speaker 1: Yeah, and welcome to the deep dive, by the way,
- 0:43Speaker 1: because we are going to get into the mechanics of
- 0:45Speaker 1: that crazy jum today. Getting Docker set up. It isn't
- 0:49Speaker 1: like installing a regular piece.
- 0:51Speaker 2: Of software, No, definitely not.
- 0:53Speaker 1: You don't just double click an icon, hit next three
- 0:55Speaker 1: times and suddenly you're working Docker. Is this entire ecosystem exactly.
- 1:00Speaker 2: It's a whole environment, right.
- 1:02Speaker 1: And if you're trying to get it running on your
- 1:04Speaker 1: local machine, whether you're using a Mac or a Windows PC,
- 1:07Speaker 1: you are stepping into this landscape full of specific additions
- 1:12Speaker 1: and unique release channels and some really intensive virtualization architecture.
- 1:18Speaker 2: And the goal here is to make sure you have
- 1:19Speaker 2: the exact right setup for your specific hardware and your daily.
- 1:23Speaker 1: Workflow, because if you mess it up early on.
- 1:25Speaker 2: Oh yeah, making the wrong choice at the installation phase
- 1:27Speaker 2: can just cause massive friction down the road.
- 1:30Speaker 1: So we are cutting right through the jargon today. By
- 1:33Speaker 1: the time we're done, you'll know exactly which version to download,
- 1:36Speaker 1: how to read Docker's cryptic version numbers, and how to
- 1:40Speaker 1: get a Linux native platform running perfectly on your Apple
- 1:44Speaker 1: or Microsoft hardware.
- 1:45Speaker 2: It's going to be a fun one.
- 1:46Speaker 1: Let's start by looking at the menu, because before you
- 1:49Speaker 1: even hit download, you have to choose your flavor. There
- 1:52Speaker 1: are two main paths here, right, Docker Community Edition which
- 1:55Speaker 1: we'll call CE, and Docker Enterprise Edition or E.
- 1:59Speaker 2: Yeah. This choice really dictates the level of support and
- 2:02Speaker 2: the security you're bringing into your specific environment.
- 2:05Speaker 1: Okay, so break down the Community Edition first.
- 2:08Speaker 2: So Community Edition is the free, open source path. It's
- 2:12Speaker 2: heavily favored by individual developers. Startup companies, DIY operations teams.
- 2:16Speaker 1: And I feel like there's this persistent myth in the
- 2:19Speaker 1: tech world that if something is free, it automatically means
- 2:22Speaker 1: it's like watered down or unstable somehow. Yeah, but if
- 2:27Speaker 1: I understand the underlying architecture here correctly, the core engine,
- 2:31Speaker 1: like the actual brain running the containers, that's identical in
- 2:35Speaker 1: both CE and.
- 2:36Speaker 2: E, right, that is a completely crucial point. There is
- 2:40Speaker 2: zero difference in the fundamental computing capability. Wow, okay, yeah,
- 2:44Speaker 2: I mean you can absolutely run serious, massive scale, production
- 2:48Speaker 2: grade systems entirely on the community edition the engine itself.
- 2:52Speaker 2: It doesn't arbitrarily throttle your performance just because you aren't
- 2:55Speaker 2: paying them a licensing fee.
- 2:56Speaker 1: Okay, So the pivot to enterprise edition, then it isn't
- 2:59Speaker 1: really about raw all.
- 3:00Speaker 2: Not at all. It's really about risk integation. When a
- 3:03Speaker 2: big organization decides they need mission critical guarantees, that's when
- 3:06Speaker 2: they shell out for EE.
- 3:08Speaker 1: Right.
- 3:08Speaker 2: And we're talking about a price tag somewhere between seven
- 3:11Speaker 2: hundred and fifty to two thousand dollars a year.
- 3:14Speaker 1: Okay, let's unpack this. What physically changes when you pay
- 3:18Speaker 1: that premium, Like, what are you actually buying?
- 3:21Speaker 2: You are basically buying peace of mind, and you get
- 3:24Speaker 2: some very specialized tooling like what so for instance, Enterprise
- 3:28Speaker 2: Edition provides access to certified Bocker images and plugins.
- 3:31Speaker 1: Okay, so they're vetted exactly.
- 3:33Speaker 2: When you pull a certified image, you aren't just downloading
- 3:36Speaker 2: code from some random developer on the internet. You're getting
- 3:39Speaker 2: a package that has been rigorously tested and verified by
- 3:44Speaker 2: Docker itself.
- 3:45Speaker 1: That's huge for security.
- 3:47Speaker 2: It is, And you also get this deep vulnerability scanning.
- 3:50Speaker 2: The system actively dissects your containers to tell you, hey,
- 3:53Speaker 2: you're inadvertently shipping a known security flaw into production here.
- 3:57Speaker 1: Plus I imagine you get someone to actually pick up
- 3:59Speaker 1: the phone when things break.
- 4:01Speaker 2: Yes, you get official same day support. If your whole
- 4:04Speaker 2: infrastructure goes down at two am, you have a dedicated engineer.
- 4:07Speaker 1: To call, which, honestly, in the context of Enterprise it
- 4:11Speaker 1: budgets where an hour of downtime can cost like hundreds
- 4:15Speaker 1: of thousands of dollars, a two thousand dollars annual fee
- 4:17Speaker 1: is basically a rounding error.
- 4:18Speaker 2: Oh completely, It's an incredibly justifiable expense for those teams.
- 4:22Speaker 1: It's kind of like comparing cars, right Like docer ce
- 4:25Speaker 1: is a high performance sports car. You can just drive
- 4:27Speaker 1: right off the lot for free. It's incredibly fast, handles
- 4:30Speaker 1: beautifully gets you to the finish line.
- 4:32Speaker 2: Yeah, I like that.
- 4:32Speaker 1: But then Docker E is that exact same sports car,
- 4:36Speaker 1: but it comes bundled with armored plating, a two hundred
- 4:38Speaker 1: and forty seven dedicated pit crew, and an ironclad warranty.
- 4:42Speaker 2: That's a perfect framing and you know, knowing which car
- 4:45Speaker 2: you're driving brings us right back to that bizarre versioning
- 4:48Speaker 2: jump we mentioned at the start of the deep dive.
- 4:50Speaker 1: Ah, the whole version one to seventeen thing.
- 4:52Speaker 2: Right, because trusting a tool with your entire infrastructure means
- 4:56Speaker 2: knowing exactly how old that tool actually is.
- 5:00Speaker 1: So put us in the mindset of a developer back
- 5:02Speaker 1: in early twenty seventeen. They were running Docker version one
- 5:05Speaker 1: point thirteen.
- 5:06Speaker 2: Right, and seeing version one point thirteen tells you absolutely
- 5:09Speaker 2: nothing about the software itself other than the fact that
- 5:12Speaker 2: it came after one point twelve. Obviously, but if you
- 5:15Speaker 2: were auditing a fleet of say one hundred servers, and
- 5:19Speaker 2: you saw they were all running version one point thirteen,
- 5:22Speaker 2: you had zero immediate context.
- 5:24Speaker 1: Unless you went and dug into the release notes on
- 5:26Speaker 1: some separate website.
- 5:27Speaker 2: Exactly without doing that research. That software could be two
- 5:31Speaker 2: days old or it could be two years old.
- 5:33Speaker 1: And if you're managing infrastructure, blind spots like that are
- 5:37Speaker 1: super dangerous. You need to know if your system is
- 5:39Speaker 1: aging out and becoming vulnerable. Right, So a Docker just
- 5:43Speaker 1: abandons the arbitrary number in completely. They jumped straight to
- 5:46Speaker 1: version seventeen point zero. And I'm guessing that wasn't just
- 5:48Speaker 1: a random number they pulled out of a hat.
- 5:50Speaker 2: No, not at all. It was a complete shift to
- 5:52Speaker 2: a date based system. They adopted a YYMM format. Oh okay,
- 5:56Speaker 2: so it's a two digit year followed by a dot
- 5:58Speaker 2: followed by a two digit N. So seventeen point zero
- 6:01Speaker 2: three translates perfectly to the year twenty seventeen in the
- 6:05Speaker 2: third month March.
- 6:06Speaker 1: Wow, that is brilliantly simple. So the release the following
- 6:09Speaker 1: month wouldn't be version eighteen, would just be seventeen point
- 6:13Speaker 1: zero four.
- 6:13Speaker 2: You got it. And if a critical bug is discovered
- 6:16Speaker 2: a week after seventeen point zero four drops, they don't
- 6:19Speaker 2: need a whole new major release.
- 6:20Speaker 1: They just add a patch number.
- 6:22Speaker 2: Yeah, they just append a third number for the patch,
- 6:24Speaker 2: making it seventeen point zero four point one.
- 6:27Speaker 1: This gives anyone auditing a system immediate X ray vision.
- 6:31Speaker 1: Like if I log into a server in twenty nineteen
- 6:34Speaker 1: and I see version seventeen point zero three, smiling back
- 6:37Speaker 1: of me, I don't need to go look up a wiki. Nope,
- 6:39Speaker 1: I know without a shadow of a doubt that this
- 6:42Speaker 1: software is exactly two years out of day and desperately
- 6:45Speaker 1: needs an upgrade exactly.
- 6:47Speaker 2: It makes server maintenance incredibly transparent. The predictability was just
- 6:50Speaker 2: a massive win for the industry.
- 6:52Speaker 1: But predictability brings up this really interesting tension. If I'm
- 6:55Speaker 1: running the community edition, Doker asks me to choose between
- 6:59Speaker 1: two completely different release channels right Edge and Stable. Yes,
- 7:04Speaker 1: and this basically dictates how frequently my system updates.
- 7:07Speaker 2: Yeah, And this choice defines your entire operational workflow. So
- 7:11Speaker 2: the Edge channel is designed for teams that really want
- 7:13Speaker 2: to live on the bleeding edge of development.
- 7:15Speaker 1: Meaning they want everything immediately exactly.
- 7:17Speaker 2: It pushes out a new release every single month. You
- 7:19Speaker 2: get the newest tweaks, the latest features, the very moment
- 7:22Speaker 2: they are viable.
- 7:23Speaker 1: But the catch there is the support window right.
- 7:26Speaker 2: Right Edge only receives security patches and bug fixes for
- 7:30Speaker 2: that single current month. Once the next month rolls around,
- 7:34Speaker 2: you are effectively on your own unless you upgrade.
- 7:37Speaker 1: Okay, and the alternative is the Stable channel.
- 7:39Speaker 2: Yes, this release is much slower, only once every quarter,
- 7:43Speaker 2: so every three months. You have to wait a lot
- 7:45Speaker 2: longer for the shiny new features.
- 7:46Speaker 1: But the tradeoff is long term reliability.
- 7:49Speaker 2: Correct. A stable release receives active patches for bug fixes
- 7:53Speaker 2: and security issues for four full months.
- 7:56Speaker 1: Okay, let's unpack the mechanics of that trade off, because
- 7:58Speaker 1: I have to push back a little on the pa
- 8:00Speaker 1: of the Edge channel. Sure is it really worth risking
- 8:03Speaker 1: your core infrastructure stability and dealing with potential monthly bugs
- 8:08Speaker 1: just to get a feature a few months early? I mean,
- 8:10Speaker 1: replacing the foundation of your server every thirty days sounds
- 8:13Speaker 1: like a total operational nightmare.
- 8:15Speaker 2: Your hesitation is entirely valid, and honestly, for the vast
- 8:19Speaker 2: majority of users listening right now, stable is the default recommendation. Okay,
- 8:23Speaker 2: But let's look at a concrete scenario where Edge actually
- 8:25Speaker 2: becomes a life saver. Imagine your development team is completely stalled.
- 8:30Speaker 1: Like they can't work at all.
- 8:31Speaker 2: Right, You've hit a wall because of a deeply embedded
- 8:34Speaker 2: DNS routing bug in the Docker engine itself.
- 8:37Speaker 1: Oh wow, so your team literally cannot ship their code.
- 8:41Speaker 1: Everything is totally blocked, exactly.
- 8:44Speaker 2: And you know the Stable channel isn't scheduled to release
- 8:46Speaker 2: a patch for another two and a half months. Yes,
- 8:48Speaker 2: but tomorrow the Edge channel drops an update that contains
- 8:52Speaker 2: the exact networking fix you need. In that scenario, the
- 8:56Speaker 2: calculation completely flips.
- 8:57Speaker 1: Oh, I see you gladly take the Edge update.
- 9:00Speaker 2: You accept the risk of the shorter support window and
- 9:02Speaker 2: potential minor bugs because it unblocks your entire engineering team Today.
- 9:07Speaker 2: It's about weighing the pain of a potential bug against
- 9:10Speaker 2: the very real, immediate pain of a stalled workforce.
- 9:14Speaker 1: Okay, that makes total sense. You use Edge as a
- 9:17Speaker 1: tactical unblocker, not just as a way to play with
- 9:20Speaker 1: shiny new buttons.
- 9:21Speaker 2: Exactly.
- 9:21Speaker 1: And for the enterprise teams paying the big bucks, I
- 9:24Speaker 1: imagine their Stable channel is even more reinforced.
- 9:27Speaker 2: Oh it's heavily fortified. Enterprise Edition releases quarterly just like Stable,
- 9:32Speaker 2: but each of those releases is supported and maintained for
- 9:34Speaker 2: an entire year.
- 9:35Speaker 1: Wow, a full year.
- 9:36Speaker 2: Yeah, And crucially, Docker will backport security fixes to older
- 9:42Speaker 2: supported EE versions so an enterprise doesn't have to rip
- 9:46Speaker 2: and replace their entire infrastructure just to patch one specific vulnerability.
- 9:51Speaker 1: Right. So we've navigated the editions, the version numbers, the
- 9:55Speaker 1: release channels, But choosing the right software means absolutely nothing
- 9:59Speaker 1: if you can't even get it running on your actual machine.
- 10:01Speaker 2: Right. The practical part.
- 10:02Speaker 1: Which brings us to the massive technical elephant in the
- 10:06Speaker 1: room here. Docker natively requires a Linux operating system. The
- 10:11Speaker 1: entire concept of containerization basically relies on a Linux kernel.
- 10:15Speaker 2: That is the fundamental architectural hurdle. If we connect this
- 10:19Speaker 2: to the bigger picture, the core of Docker is a
- 10:21Speaker 2: background process called the Docker Demon.
- 10:24Speaker 1: And would that do exactly?
- 10:25Speaker 2: The Demon is this invisible engine that does all the
- 10:27Speaker 2: heavy lifting. It builds your containers, manages them, distributes them.
- 10:31Speaker 2: But that demon only speaks Linux.
- 10:33Speaker 1: So if you are sitting on a Mac or a
- 10:35Speaker 1: Windows PC, your hardware natively speaks a completely different language.
- 10:39Speaker 1: So how do we force Apple and Microsoft hardware to
- 10:42Speaker 1: play nice with a Linux demon? Historically, there are two
- 10:46Speaker 1: distinct ways to build this bridge, right, the older Docker
- 10:49Speaker 1: toolbox method and the modern Docker Desktop method. That's right,
- 10:53Speaker 1: let's tackle the legacy approach first. The Docker Toolbox. I've
- 10:58Speaker 1: heard it's basically a giant's Swiss army knife.
- 11:02Speaker 2: It really is. Because the toolbox knows your computer isn't
- 11:05Speaker 2: running Linux. It installs a suite of six different tools
- 11:09Speaker 2: to artificially create a Linux environment.
- 11:12Speaker 1: Six tools. That's a lot.
- 11:13Speaker 2: Yeah, And the most critical component it installs is a
- 11:16Speaker 2: program called VirtualBox.
- 11:17Speaker 1: Okay. Virtual Box is what's known as a Type two hypervisor.
- 11:21Speaker 1: And to understand how this works, we need a quick timeout.
- 11:24Speaker 1: Can you explain the fundamental difference between these hypervisors and
- 11:26Speaker 1: plain english. If a Type two hypervisor sits on top
- 11:29Speaker 1: of my operating system, it's essentially acting like an emulator, right,
- 11:32Speaker 1: like running an old super Nintendo emulator inside a window
- 11:36Speaker 1: on my Windows desktop.
- 11:38Speaker 2: That's actually a highly accurate way to visualize it. Yeah,
- 11:40Speaker 2: your physical hardware is down at the bottom, Windows are
- 11:43Speaker 2: mac os sits on top of that hardware. Virtual Box
- 11:46Speaker 2: is just a regular application running inside Windows. It cars
- 11:50Speaker 2: out a chunk of your memory and process or power
- 11:52Speaker 2: and runs a tiny, isolated Linux virtual machine inside that
- 11:56Speaker 2: application window.
- 11:57Speaker 1: Got it. So it's a computer pretending to be another computer,
- 12:01Speaker 1: and the toolbox installs the Docker demon inside that tiny
- 12:05Speaker 1: Linux virtual.
- 12:06Speaker 2: Machine, right, But that introduces a huge communication problem. Your
- 12:10Speaker 2: main Windows or Mac terminal can't easily talk to the
- 12:13Speaker 2: demon hidden inside that emulator.
- 12:15Speaker 1: It's blocked off exactly.
- 12:16Speaker 2: So the toolbox installs a few more things. There's Docker Machine,
- 12:19Speaker 2: which automates the creation of that VirtualBox VM, and then
- 12:22Speaker 2: there's the quick Start terminal, which specifically configures your command
- 12:26Speaker 2: line to bridge the gap and actually talk to the
- 12:28Speaker 2: hidden demon.
- 12:28Speaker 1: It also throws in Kaiomatic, right, which I think is
- 12:31Speaker 1: a brilliant addition for visual learners.
- 12:33Speaker 2: Oh Kaidomatic is great.
- 12:35Speaker 1: Instead of just staring at a blinking cursor in a terminal,
- 12:38Speaker 1: Kaiomatic gives you a graphical user interface. You get literal
- 12:42Speaker 1: buttons to click to start and stop your containers, which
- 12:45Speaker 1: makes the whole thing feel a lot less abstract.
- 12:47Speaker 2: It definitely lowers the barrier to entry for beginners. But
- 12:52Speaker 2: as you noted with the emulator analogy, the type two
- 12:54Speaker 2: approach is heavy.
- 12:55Speaker 1: Yeah.
- 12:56Speaker 2: There is a massive middleman translating every single instruck between Windows,
- 13:01Speaker 2: the virtual machine, and the Linux demon.
- 13:04Speaker 1: Which naturally leads us to the second, more modern method,
- 13:07Speaker 1: Docker Desktop. Yeah, and desktop throws virtual box completely out
- 13:11Speaker 1: the window. It bypasses the Type two emulator entirely because
- 13:15Speaker 1: it utilizes a Type one hypervisor. Correct, So it's Type
- 13:19Speaker 1: two is a heavy emulator acting as a middleman. A
- 13:21Speaker 1: Type one must strip away the middleman entirely, right, It
- 13:24Speaker 1: must talk directly to the metal.
- 13:26Speaker 2: You've hit the nail on the head. Type one hypervisor
- 13:28Speaker 2: is integrated right down at the foundation of the operating system.
- 13:32Speaker 2: Instead of running as an application on top of Windows
- 13:34Speaker 2: or Mac, it sits parallel to them, communicating almost directly
- 13:38Speaker 2: with the hardware silicon. On a Mac, this native hypervisor
- 13:41Speaker 2: is called Hyperkit, and on Windows it's called hyper v.
- 13:45Speaker 1: Okay, so Desktop hooks directly into Hyperkit or hyper v,
- 13:50Speaker 1: allowing the Linux damon to run with incredible efficiency. From
- 13:54Speaker 1: my perspective, just sitting at the keyboard, it feels like
- 13:57Speaker 1: Docker is just a native Mac or Windows application exactly.
- 14:00Speaker 2: You don't need a special quick start terminal, you don't
- 14:02Speaker 2: have to manage virtual box. It's just beautifully integrated into
- 14:06Speaker 2: the system.
- 14:06Speaker 1: It removes an immense amount of friction from the daily workflow.
- 14:09Speaker 2: It really does.
- 14:10Speaker 1: Okay, So a natively integrated Type one hypervisor sounds vastly superior.
- 14:15Speaker 1: Why would anyone ever choose to install the heavy, clunky
- 14:18Speaker 1: Type two toolbox. I mean, it's time for the showdown
- 14:22Speaker 1: desktop versus toolbox.
- 14:23Speaker 2: Well, the truth is the choice is often made for
- 14:25Speaker 2: you by your hardware.
- 14:26Speaker 1: What do you mean?
- 14:27Speaker 2: Because Docker Desktop hooks so deeply into the operating system
- 14:30Speaker 2: using that type one hypervisor, your machine has to meet
- 14:33Speaker 2: incredibly strict criteria. For starters, you cannot have virtual box
- 14:38Speaker 2: or VMware running on your machine at all.
- 14:40Speaker 1: Let me guess the hypervisors fight each other for control
- 14:43Speaker 1: of the hardware.
- 14:44Speaker 2: Precisely, they clash violently. So if you have legacy projects
- 14:48Speaker 2: for work or school that absolutely require virtual Box, Docker
- 14:52Speaker 2: desktop is just going to break your whole setup.
- 14:54Speaker 1: Oh that's frustrating.
- 14:56Speaker 2: Yeah. And beyond that, the operating system requirements are super rigid.
- 15:00Speaker 2: Mac users need hardware built in twenty ten or newer
- 15:03Speaker 2: running at least YO seventy ten point ten.
- 15:05Speaker 1: And for Windows users, the limitation is even more severe.
- 15:08Speaker 2: Is a massive sticking point. To run Docker Desktop on
- 15:11Speaker 2: a PC, you absolutely must have Windows ten Professional Enterprise
- 15:16Speaker 2: or the Student Edition. It simply will not install on
- 15:19Speaker 2: Windows ten Home Edition.
- 15:20Speaker 1: Wait really, because Microsoft deliberately strips the hyper v hypervisor
- 15:24Speaker 1: out of the Home edition to cut costs exactly. So
- 15:27Speaker 1: if you're just sitting on your couch with a standard
- 15:29Speaker 1: Windows Home laptop, Docker Desktop is a completely locked door.
- 15:33Speaker 2: And that is exactly where the Docker toolbox shines as
- 15:36Speaker 2: the ultimate fallback plan. Its requirements are incredibly forgiving because
- 15:41Speaker 2: it uses a Type two application, it plays perfectly nicely
- 15:44Speaker 2: alongside other virtualization tools. It works on much older operating systems,
- 15:49Speaker 2: going back to Mac Mountain line and Windows seven, and crucially,
- 15:53Speaker 2: it fully supports Windows Home Edition.
- 15:55Speaker 1: Okay, so toolbox is reliable even if it's a bit clunky.
- 15:58Speaker 1: But let's look at the actual day to day usability here.
- 16:01Speaker 1: How does it feel to actually write code on these
- 16:04Speaker 1: two systems.
- 16:04Speaker 2: The difference in accessing your containers is pretty stark.
- 16:07Speaker 1: So if I build a web app using Docker Desktop,
- 16:10Speaker 1: I just open my browser type local host and boom,
- 16:12Speaker 1: my app appears, right, and I can use whatever terminal
- 16:15Speaker 1: I want, like standard PowerShell.
- 16:17Speaker 2: Right, because the Type one hypervisor tricks the system into
- 16:20Speaker 2: treating the container network is native. But with the toolbox,
- 16:23Speaker 2: your container is trapped inside that virtual box vm oh. Right,
- 16:27Speaker 2: that virtual machine gets a signed it's own separate local
- 16:29Speaker 2: IP address. Buy your router it's usually something long and awkward,
- 16:34Speaker 2: like one ninety two point one sixty eight point nine
- 16:36Speaker 2: to nine point one metter zero.
- 16:38Speaker 1: Okay, let me give you an analogy for this friction.
- 16:40Speaker 1: Using Docker desktop is like having a sophisticated translatorship implanted
- 16:44Speaker 1: directly into your brain. You just think local host and
- 16:47Speaker 1: the chip instantly translates it. You never even feel the
- 16:50Speaker 1: translation happening.
- 16:51Speaker 2: Yeah, that's spot on.
- 16:52Speaker 1: But using Docker Toolbox, however, is like having to pick
- 16:55Speaker 1: up a landline phone and dial a very specific, really
- 17:00Speaker 1: long foreign number one ninety two point one sixty eight
- 17:03Speaker 1: point nine to nine point one year zero every single
- 17:06Speaker 1: time you want a single word translated.
- 17:07Speaker 2: That's exactly what it feels like.
- 17:09Speaker 1: It gets the job done, but it is deeply tedious.
- 17:11Speaker 2: The translator analogy perfectly captures the daily frustration of the toolbox,
- 17:16Speaker 2: But there's one more critical comparison. We really need to
- 17:19Speaker 2: unpack performance, specifically, how these two architectures handle file mounting right.
- 17:26Speaker 1: Because when you're developing software, you don't just put code
- 17:28Speaker 1: in a container and leave it. You write code on
- 17:30Speaker 1: your Windows or mac coost machine, and you need the
- 17:33Speaker 1: Linux container to instantly recognize those file changes. So it
- 17:36Speaker 1: can recompile the app in real time exactly.
- 17:40Speaker 2: That real time synk is called a file mount. And
- 17:43Speaker 2: for a long time there was this fascinating quirk in
- 17:45Speaker 2: the industry. Moving a file system event like hitting save
- 17:50Speaker 2: on a text document across a Type one native hypervisor
- 17:53Speaker 2: boundary actually introduces terrible latency. Really yeah, the hypervisor has
- 17:59Speaker 2: to painstaking translate the macfile event into a Linux file event.
- 18:04Speaker 2: Because of this overhead, the older Type two virtual Box
- 18:07Speaker 2: method actually had a noticeable edge in raw speed when
- 18:10Speaker 2: mounting heavy directories. Virtual Box have basically spent a decade
- 18:14Speaker 2: perfecting its shared folder system.
- 18:16Speaker 1: That is wild. The heavy emulator actually beat the sleek
- 18:20Speaker 1: native integration at file sharing.
- 18:21Speaker 2: It did initially, but I want to be clear that
- 18:23Speaker 2: docer realized this was a major bottleneck. The last few
- 18:26Speaker 2: years they've engineered entirely new file sharing mechanisms, specifically for desktop,
- 18:30Speaker 2: to close this gap. Okay, today the performance on desktop
- 18:33Speaker 2: is incredibly robust and continues to get better.
- 18:35Speaker 1: So bringing it all together, what is the final verdict here?
- 18:38Speaker 1: If someone is sitting at their desk ready to start,
- 18:41Speaker 1: what is the game plan?
- 18:42Speaker 2: My definitive recommendation is to always attempt Docker Desktop.
- 18:46Speaker 1: First, always desktop first.
- 18:48Speaker 2: Yes, yes, if your machine meets the requirements, meaning Windows
- 18:52Speaker 2: Pro or a modern Mac, and you aren't tied to
- 18:54Speaker 2: virtual box for another project, desktop is the clear winner.
- 18:58Speaker 2: The local host convenience and the seamless integration simply provide
- 19:02Speaker 2: a vastly superior developer experience.
- 19:05Speaker 1: But if you hit a walk like if you have
- 19:07Speaker 1: Windows Home, or if you encounter bizarre performance issues on
- 19:11Speaker 1: an older machine, do not get discouraged exactly, just uninstall it,
- 19:15Speaker 1: pivot and download the Docker toolbox. It is an incredibly
- 19:19Speaker 1: reliable plan B that has literally powered millions of development workflows.
- 19:24Speaker 2: Right. The overall goal is just to get the demon running,
- 19:26Speaker 2: whichever path you have to take.
- 19:27Speaker 1: Okay, let's assume you've made your choice, You've run the installer,
- 19:30Speaker 1: the progress bar has finished. How do you actually prove
- 19:33Speaker 1: to yourself that it worked? We need to verify the installation.
- 19:36Speaker 2: Verification is straightforward, but it does require using the command line. First,
- 19:41Speaker 2: open your terminal. If you chose desktop, just open your
- 19:44Speaker 2: native Mac terminal or Windows PowerShell. If you chose toolbox,
- 19:49Speaker 2: you absolutely must open that specific Docker quick start terminal.
- 19:53Speaker 1: Right, you have to pick up the special red phone
- 19:55Speaker 1: to talk to the virtual box damon.
- 19:57Speaker 2: Once the terminal is open, you're going to type two
- 20:00Speaker 2: words Docker space info Docker info. When you execute that,
- 20:06Speaker 2: your terminal should instantly flood with text. It will return
- 20:09Speaker 2: a massive wall of system details, the architecture type, the
- 20:13Speaker 2: exact Linux kernel version running the demon, the total number
- 20:16Speaker 2: of the containers on the system.
- 20:17Speaker 1: And if you see all that, If you see all.
- 20:19Speaker 2: That data, congratulations, you have successfully bridged the gap. Your
- 20:23Speaker 2: native operating system is actively communicating with a Docker demon.
- 20:26Speaker 1: Now what if you get a giant angry red permission
- 20:30Speaker 1: denied error or a message saying cannot connect to the
- 20:33Speaker 1: Docker demon.
- 20:34Speaker 2: Then you know the bridge is broken and you need
- 20:36Speaker 2: to revisit the installation steps.
- 20:38Speaker 1: But let's say Docker info works perfectly. Is there a
- 20:41Speaker 1: second verification step we should do?
- 20:43Speaker 2: Yes? Next type Docker Dash compose space Dash.
- 20:50Speaker 1: Dash version okay, Doctor composed.
- 20:52Speaker 2: Version Doctor composed is this incredibly powerful orchestration tool. It's
- 20:57Speaker 2: used for running applications that require multiple containers to work together,
- 21:00Speaker 2: like a web server container talking to a separate database container. Oh,
- 21:04Speaker 2: I see, Even if you aren't building complex apps on
- 21:07Speaker 2: day one, checking that Compose installed correctly. Basically guarantees that
- 21:12Speaker 2: your entire toolkit is complete and healthy. It's just returned
- 21:16Speaker 2: a single clean line stating the exact version installed.
- 21:20Speaker 1: Which brings us to a quick review exercise for everyone listening,
- 21:23Speaker 1: I want you to go run those commands right now.
- 21:25Speaker 1: Open your terminal, type Docker info and look really closely
- 21:28Speaker 1: at the output.
- 21:29Speaker 2: Yeah, find the version number exactly.
- 21:31Speaker 1: Find that number based on the YYMM format we decoded earlier.
- 21:34Speaker 1: Exactly what year and month was your software released? How
- 21:37Speaker 1: old is the engine running on your machine? Right?
- 21:39Speaker 2: So if you see twenty three point zero five, you
- 21:41Speaker 2: know immediately it's from May of twenty twenty three.
- 21:43Speaker 1: It's a habit that completely changes how you look at
- 21:46Speaker 1: infrastructure health.
- 21:47Speaker 2: It forces you to treat your tools as active aging
- 21:50Speaker 2: components rather than just static files.
- 21:52Speaker 1: And as we wrap up, I want to leave you
- 21:54Speaker 1: with a slightly provocative thought about where all of this
- 21:57Speaker 1: is actually heading. We just spend this entire time secting
- 22:00Speaker 1: the intense architectural gymnastics required to make Linux run on
- 22:05Speaker 1: Windows and Mac.
- 22:06Speaker 2: Yeah, we talked about emulators, hypervisors, translating kernels.
- 22:10Speaker 1: It is a massive amount of engineering just to run
- 22:12Speaker 1: a demon, it really is. But the tech landscape is shifting.
- 22:15Speaker 1: Operating systems are becoming incredibly integrated. Just look at Microsoft.
- 22:19Speaker 1: They have heavily pushed the Windows subsystem for Linux or WSL.
- 22:23Speaker 1: They are effectively weaving a native Linux kernel directly into
- 22:27Speaker 1: the underlying fabric of Windows itself.
- 22:29Speaker 2: They're erasing the boundary entirely, so.
- 22:31Speaker 1: As that technology matures and the lines between Windows, Mac
- 22:35Speaker 1: and Linux completely blur, what happens to the whole concept
- 22:39Speaker 1: of virtualization.
- 22:40Speaker 2: That's a great question.
- 22:41Speaker 1: Will we even need type one or Type two hypervisors
- 22:45Speaker 1: a decade from now? If Windows natively speaks Linux right
- 22:48Speaker 1: down at the metal, Does the concept of Docker desktop
- 22:51Speaker 1: just become a relic of the past. Does the container
- 22:54Speaker 1: just become a native, built in citizen of every operating
- 22:57Speaker 1: system on Earth?
- 22:58Speaker 2: That is the multi billion dollars question. The friction we
- 23:01Speaker 2: just spent twenty minutes navigating might eventually just disappear.
- 23:05Speaker 1: It's an incredible horizon to mole over. As you start
- 23:08Speaker 1: spinning up your very first containers today, while you've survived
- 23:12Speaker 1: the deep dive, you now know your community edition from
- 23:15Speaker 1: your enterprise, your edge from your stable, and exactly how
- 23:18Speaker 1: to tame the hypervisors lurking inside your computer.
- 23:21Speaker 2: You definitely have the foundational setup to start building something amazing.
- 23:25Speaker 1: Thanks for joining us. Remember the next time you install
- 23:27Speaker 1: a piece of software, ask yourself, is this just an
- 23:30Speaker 1: application or is it an ecosystem? Keep exploring