Windows Docker

svg viewer

What is Docker?

Docker is a containerization system that enables developers and teams to handle application deployment and scaling in a much easier way.

Just as the name suggests, we can think of a container as an isolated system that contains everything needed to run a certain application with a certain setup.

Images can be pre-built, retrieved from registries, created from already existing ones, combined together, started via a common network, etc.

We will see the difference between an image and a container, how they relate to each other, and how these two concepts allow us to make an application that is self-contained and ready to be deployed.

Install Docker on Windows

Go to Docker Hub and click on Get Docker to download the Docker installer for Windows.

svg viewer

When downloaded, run the file named Docker Desktop Installer. After running it, enable the Hyper-V Windows Feature in the configuration settings. Authorize the installer and let it complete its process. When the installation completes, close the installer.

Make sure you add the admin user account to the docker-user group. You can do that by running Computer Management as an administrator and navigate to Local Users and Groups > Groups > docker-users.

Start Desktop Docker and setup your docker. When you launch Docker for the first time, there is an onboarding tutorial to get you started.

To check the Docker version, run docker --version on Command Prompt.

Free Resources

Copyright ©2024 Educative, Inc. All rights reserved