Open ndujar opened 4 years ago
Hi @ndujar I had successfully built docker container. can you share the steps to run a container .? Iam using this command to run
docker run -it --privileged --net=host \
\
-v ~/.Xauthority:/root/.Xauthority \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=$DISPLAY \
-e HTTP_PROXY=$HTTP_PROXY \
-e HTTPS_PROXY=$HTTPS_PROXY \
-e http_proxy=$http_proxy \
-e https_proxy=$https_proxy \
\
-v ~/ffva/data/models/intel:/root/intel_models:ro \
-v ~/ffva/data/models/common:/root/common_models:ro \
-e MODELS_PATH=/root/intel_models:/root/common_models \
\
-v ~/ffva/data/video:/root/video-examples:ro \
-e VIDEO_EXAMPLES_DIR=/root/video-examples \
\
ffmpeg-video-analytics-
But there are only these 3 folders
common_models
intel_models
video-examples
As I see your issue you said there are some changes. If you share from running a container to run a sample It would help me more.. Because Iam trying this from the past few weeks. Help needed. Thanks
Hi @bhargav-sudo:
As I recall, I followed the Option 2 in the Getting Started Guide
As I see in your command, you might be missing some important shared volumes. Have you tried to run the docker image with the same command as mine?
docker run -it --privileged --net=host -v ~/.Xauthority:/root/.Xauthority -v /tmp/.X11-unix:/tmp/.X11-unix:rw -e DISPLAY=unix$DISPLAY -e HTTP_PROXY=$HTTP_PROXY -e HTTPS_PROXY=$HTTPS_PROXY -e http_proxy=$http_proxy -e https_proxy=$https_proxy -v /dev/video2:/dev/video2 -v ~/ffva/FFmpeg-patch:/FFmpeg-patch -v ~/ffva/data/models/intel:/root/intel_models:ro -v ~/ffva/data/models/common:/root/common_models:ro -e MODELS_PATH=/root/common_models -v ~/ffva/data/video:/root/video-examples:rw -e VIDEO_EXAMPLES_DIR=/root/video-examples ffmpeg-video-analytics-package:latest
As you can see, then I added the following (missing in your command): -v /dev/video2:/dev/video2 -v ~/ffva/FFmpeg-patch:/FFmpeg-patch
Hope this helps :)
Hi @ndujar But I tried option 1 in guide. will try that and let you know.
Thanks.
Hi,
I have followed instructions to create a Docker image here and successfully built and run a container with the following command:
Happily, the face detection sample works like a charm after some reconstruction from the commands in the scripts provided:
However, I have been going through the Advanced usage examples and I keep receiving a
Create network failed!
message:I would expect that
Would also work, however this is the output I keep getting:
Any hints are much appreciated