gocv icon indicating copy to clipboard operation
gocv copied to clipboard

GoCV DockerHub image problem

Open WuNein opened this issue 1 year ago • 1 comments

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.

WuNein avatar Jan 06 '23 13:01 WuNein