DOCKER - 5 Installation Docker

##ssssss

Time for the real installation phase. We download and install Docker, tweak a few settings, clone the course repository, and grab a code editor if you don't have one yet. The course uses Windows 10 Pro and Docker CE; the steps for Mac or older Windows versions are very similar.

Install, verify, configure

Head to store.docker.com, pick Docker CE, then Docker Community Edition for Windows. The default download is the stable channel; if you prefer the monthly beta builds, scroll a little further to find the Edge installer. Save the file, run the installer (a typical Windows install — accept the defaults), then launch Docker. On first start it will offer to enable Hyper-V automatically. Accept, expect a reboot, and confirm you have local admin rights for the install to succeed.

Once Docker is running (look for the whale icon in the system tray), open PowerShell and verify:

docker version

You should see the latest stable client and server versions. Behind the scenes Docker runs a small Linux VM called Moby via Hyper-V — you can see it in the Hyper-V Manager. Right-click the Docker icon and pick Settings to tweak the disk used to store images and to allocate more RAM if Docker feels sluggish. Changes prompt Docker to restart.

  • Clone the course repository into a folder of your choice (the instructor uses docker-code\)
  • Recommended editor: VS Code — search "vs code", download from the official site, install like any Windows app
  • VS Code ships with built-in syntax highlighting for Dockerfile and docker-compose.yml files, plus helpful hints as you type

With Docker running, the repo cloned and an editor ready, you're set up to follow every hands-on exercise in the rest of the course.

That's all for this video, but see you soon for the next one.

Summary

This lesson guides you through installing Docker on Windows, from downloading it from docker.com to configuring basic settings and verifying the installation via PowerShell. It also covers essential setup steps like cloning the Docker repository, selecting a code editor, and introducing Visual Studio Code as the recommended tool for working with Docker and Docker Compose files.

Key points

  • Download Docker from docker.com and run the standard Windows installation
  • Verify Docker installation by running 'docker --version' in PowerShell
  • Configure Docker settings to select your primary disk where Docker stores container data
  • Visual Studio Code is the recommended code editor for Docker development, with built-in Docker syntax highlighting
  • VS Code provides helpful features for working with Dockerfile and Docker Compose files
  • Hyper-V may be automatically installed during Docker setup and may require a system restart

FAQ

Where do I download Docker for Windows?

Download Docker from the official website at docker.com. The installation process is straightforward—run the installer and follow the standard Windows setup steps.

How do I verify that Docker was installed correctly?

Open PowerShell and run the command 'docker --version'. This will display the Docker version number if the installation was successful.

What code editor should I use for Docker development?

Visual Studio Code (VS Code) is recommended because it has excellent Docker support, including syntax highlighting for Dockerfiles and Docker Compose files, plus built-in hints and utilities for Docker workflows.