Installing Docker Desktop for Visual Inspection
To use Visual Inspection on Windows, Docker Desktop is required. Follow the steps bellow to install it on your computer:
Step 1: Installing Docker Desktop
-
Go to this link and download the Windows version:
https://www.docker.com/products/docker-desktop/
-
Run the downloaded executable and follow the default steps
Step 2: Configuring Docker Desktop
-
Once Docker Desktop has been successfully installed, use the below graphic to open settings and locate the “Docker Engine” menu item
-
Add the following text to the configuration
"runtimes": { "nvidia": { "path": "/usr/bin/nvidia-container-runtime", "runtimeArgs": [] } }
-
The configuration should now look like the graphic below
-
Click “Apply & Restart”
Step 3: Run docker compose file
Download Docker Compose directly from Telit's documentation resources clicking the button bellow.
-
Create a new directory in the place you want DWVI to be stored
-
Move “docker-compose.yml” into this new directory
-
Run the following commands in a normal Windows command prompt:
-
cd <directory you created in 1>
-
docker compose pull
-
docker compose up -d
-
-
Check back in Docker Desktop. You should see four images in the “images” section and one running container in the “containers” section, as shown in the graphic below
Step 4: Stopping/restarting DWVI
-
To stop DWVI, click the stop button on the “vi_studio” container
-
To restart DWVI, click the play button on the “vi_studio” container
Step 5: Updating DWVI
To finish up setting Docker Desktop for VI, update deviceWISE Visual Inspection through the following steps:
-
Run the following commands in a normal Windows command prompt:
-
cd <directory containing docker-compose.yml from step 3>
-
docker compose pull
-