I’m using Docker version 19.03.5, build 633a0ea
I have successfully pulled the image like this:
sudo docker pull nvcr.io/nvidia/pytorch:19.12-py3
When I try to start a container like this:
sudo docker run --gpus all --rm -it nvcr.io/nvidia/pytorch:19.12-py3
I get the following error:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused “process_linux.go:449: container init caused "process_linux.go:432: running prestart hook 0 caused \"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --utility --video --require=cuda>=9.0 --pid=16567 /var/lib/docker/overlay2/a0e35fba924073f5b84c64ff86914b430a809a4e106fcc1f7b629cdfbd353d6c/merged]\\nnvidia-container-cli: mount error: mount operation failed: /usr/src/tensorrt: no such file or directory\\n\""”: unknown.
Also on NGC it says the image size should be 3.39Gb, but an ‘image ls’ shows the image is 9.28Gb?
Any ideas what I’m doing wrong?