Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Windows Docker Support for OpenVINO

Huang__Roger
Beginner
1,302 Views

There is an official guide to build OpenVINO docker image, also some discussion here, and here.

But all of them are on Linux.

I'd like to build Windows-based OpenVINO docker image, and my questions are:

  1. Which base image should I start from?
  2. How do I install OpenVINO toolkit using silent mode(--s)?
  3. Can I replace VS2017 w/ VS2017 build tools?

Any comment would be appreciated!

0 Kudos
7 Replies
Huang__Roger
Beginner
1,302 Views

After a two-day try-out, here are my answers:

  1. Which base image should I start from?
    • Start from windows/servercore, the working URL is: mcr.microsoft.com/windows/servercore:1803
    • Note the version number 1803 should be equal to host OS.
  2. How do I install OpenVINO toolkit using silent mode(--s)?
    • Install OpenVINO toolkit from cmd-line:
      • # silently unpack to unpacked/ and write logs to log.txt. try --h for more.
        $ openvino.exe --s --f unpacked --l log.txt
        
        # accept EULA to install and write output to output.txt
        $ install.exe install --output output.txt --eula accept
  3. Can I replace VS2017 w/ VS2017 build tools?
    • Yes. Use Chocolatey would be a good choice, I'm working w/ OpenVINO 2018.5.445 for VC++ project and here are my working dependencies:
      • choco install cmake --version 3.14.3 -y
        choco install python --version 3.6.5 -y
        choco install visualstudio2017buildtools --version 15.9.11.0 -y
        choco install visualstudio2017-workload-vctools --version 1.3.2 -y

         

0 Kudos
Shubha_R_Intel
Employee
1,302 Views

Dearest Huang, Roger,

I'm not an expert in containers but fortunately we have someone who is (OpenVino and containers). He will answer your question soon ! Thanks for your patience,

Shubha

 

0 Kudos
Huang__Roger
Beginner
1,302 Views

@Shubha Thank you!

My biggest concern is that the customized Docker image size is ~14GB. Hope that Intel provides a smaller official image :D

0 Kudos
Mousumi_Hazra
Employee
1,302 Views

Can someone please post the Dockerfile that can be used to enable OpenVINO support in a windows docker? I tried the following: the docker build is hanging in the install (2nd last ) line:

 

FROM mcr.microsoft.com/windows/servercore:1903
RUN curl.exe -o python-3.7.3.exe https://www.python.org/ftp/python/3.7.3/python-3.7.3.exe ;

RUN C:\python-3.7.3.exe /passive InstallAllUsers=1 TargetDir=c:\Python37
RUN setx PATH "C:\Python37;C:\Python37\Scripts;%PATH%"
COPY application C:\\application

RUN python.exe c:\\application\\get-pip.py
RUN pip install cmake
WORKDIR C:\\application

RUN start /WAIT w_openvino_toolkit_p_2019.0.000.exe --s --a install --eula=accept --output=c:\openvino_out.txt
CMD cmd.exe
 

0 Kudos
Munesh_Intel
Moderator
1,302 Views

Hi Mousumi H.,

Greetings to you.

We earnestly request you to create a new thread for your specific issue to help us serve you better, since this thread that you’ve posted to currently is almost a year old.

Thank you.

 

Regards,

Munesh

0 Kudos
Iffa_Intel
Moderator
1,302 Views

Greetings,

If there are anyone whom are still looking for answer in this thread,

Here are some insights:
1. For more compatibility options it is recommended to Install DL Workbench from Docker Hub* (includes installing on Linux, Windows, and macOS). This contain prebuild images that required to be built.

Otherwise, you can proceed to Install DL Workbench from the Intel® Distribution of OpenVINO™ toolkit package. (Note that This installation option works on Linux systems only.) This require to install the package itself and build it using image in your local machine and run the tool from here.

You can refer here: https://docs.openvinotoolkit.org/latest/_docs_Workbench_DG_Install_Workbench.html

2. You can find out Openvino workbench supported by Docker Hub here:

https://hub.docker.com/r/openvino/workbench

This contain libraries/images that you can use 

3. Here are some compressed images that are provided:

https://hub.docker.com/r/openvino/workbench/tags

The compressed image size would be in the range 1.9GB to 2GB and the expanded should be approximately 5GB or more.

Hope my answer Helps!

Sincerely,

Iffa

0 Kudos
Iffa_Intel
Moderator
1,302 Views

Hi,

I'm closing the case since there are no reply within 5 working days and his thread had been over a year .

If there are any inquiries please help to create a new thread.

 

Thanks & have a great day ahead.

Sincerely,

Iffa

0 Kudos
Reply