dlstreamer / pipeline-server

Home of Intel(R) Deep Learning Streamer Pipeline Server (formerly Video Analytics Serving)
BSD 3-Clause "New" or "Revised" License
126 stars 51 forks source link

Docker build fails if no_proxy setting contains spaces #88

Closed yogeshmpandey closed 3 years ago

yogeshmpandey commented 3 years ago

Tried to build the image using

./docker/build.sh

But, getting the issue below:-

image

whbruce commented 3 years ago

This is probably due to a space in your NO_PROXY setting. Run the following to track down the problem.

$ grep localhost docker/openvino_base_environment.txt
no_proxy=localhost,127.0.0.1
NO_PROXY=127.0.0.1, localhost

If you see space in either of these values (as in NO_PROXY setting), the build will break with the error you reported. Check your environment and docker proxy configuration for such spaces.

yogeshmpandey commented 3 years ago

Thanks, I was able to run it after making the changes. However since I am using a VM, I am getting this issue after running the run.sh command, do we have any fixes for this.

image

nnshah1 commented 3 years ago

@yogeshmpandey What underlying hardware are you using? Based on this similar issue (also running from within a VM) https://github.com/opencv/opencv/issues/18932 it looks like you may need to rebuild opencv / openvino with those options disabled.

I would suggest rebuilding the base openvino image using: https://github.com/openvinotoolkit/docker_ci and ttps://github.com/openvinotoolkit/docker_ci/blob/master/get-started.md

You'll want to select 'data_runtime' as the type.

Once you've build a openvino data_runtime base image for your HW config, you can use that as a base image for VA Serving:

https://github.com/intel/video-analytics-serving/blob/master/docs/building_video_analytics_serving.md

https://github.com/intel/video-analytics-serving/blob/master/docs/build_script_reference.md

Let us know if that works -

yogeshmpandey commented 3 years ago

Thanks, a lot. It worked.