gocv
gocv copied to clipboard
GoCV DockerHub image problem
docker image from dockerhub
I see docker image from https://hub.docker.com/r/gocv/opencv/tags. I intended to use image 4.7.0-gpu-cuda-11.2.2 to cross build my onnx image detection problem used in windows.
sudo docker run --gpus all -it -v /home/xxx/Document/apex:/data gocv/opencv:4.7.0-gpu-cuda-11.2.2
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "go version": executable file not found in $PATH: unknown.
ERRO[0000] error waiting for container: context canceled
But here comes the problem, the golang path in the image is no properly configured.
exec: "go version": executable file not found in $PATH: unknown.
I hope there may be some docs.
Thanks for reporting @WuNein
So the way that this image is actually intended to be used is as a base image.
Can you please give a try to https://github.com/hybridgroup/gocv/blob/release/Dockerfile-test.gpu-cuda-11.2.2 which should use that image to run the tests?