To develop applications for Torizon, you need to have some prerequisites installed in your development PC. That means installing Docker Desktop. See more information on Configure Build Environment for Torizon Containers.
In this section, you will:
For this Quickstart Guide:
Note: Carefully read this module's cover page clicking on "Module 2: First Steps with Torizon" on the left menu bar before starting this lesson.
On your Windows host machine, head to the Docker Hub website and create an account.
Access the Docker for Windows page on the official Docker documentation and go to Install Docker Desktop for Windows. From here you will be redirected to Docker Hub, where you can finally download Docker for Windows.
Attention: Docker Desktop is not available for Windows 10 Home. As stated in the Prerequisites section at the beginning of the article, you need Windows 10 Pro / Enterprise / Education.
After installing it, open the application and check it running on your taskbar icons. It may take a while to load.
Docker for Windows is able to run Linux and Windows containers, but you need to select which OS your containers are target to. Be sure to select "Linux containers" on installation. Otherwise, you can right-click on the Docker icon in the taskbar and select "Switch to Linux containers". This option is only available if your Docker runtime is set to Windows.
Verify your installation following the official Docker documentation.
Open a PowerShell window, and run:
$ docker --version
This lets you check whether the installation was successful or not.
Make sure you can run the hello-world image in your Windows machine before going to the next lessons:
$ docker run hello-world