NVIDIA-AI-IOT / redtail

Perception and AI components for autonomous mobile robotics.
BSD 3-Clause "New" or "Revised" License
1.01k stars 344 forks source link

Creating container error #77

Closed aogrcs closed 6 years ago

aogrcs commented 6 years ago

when I run run_redtail_docker.sh, there is the error: Container name : redtail-sim-v2 Host data dir : /data/ Container data dir: /data/ Creating new redtail container. access control disabled, clients can connect from any host ./run_redtail_docker.sh: line 28: nvidia-docker: command not found

and docker images: REPOSITORY TAG IMAGE ID CREATED SIZE nvidia-redtail-sim kinetic-v2 1ee3b207d729 33 minutes ago 7.45GB nvidia/cuda 9.0-cudnn7-devel-ubuntu16.04 fde2f471fd51 5 days ago 2.61GB

Alexey-Kamenev commented 6 years ago

If you want to run full simulation, you need to install nvidia-docker. Note that our containers were tested with v.1.0 but should also work with v.2.0 as well.

aogrcs commented 6 years ago

When I run docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi the error is: docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:385: running prestart hook 1 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 --require=cuda>=9.0 --pid=47242 /var/lib/docker/overlay2/f37ac2099b36dae2be017364902226b6f24c3a16654da6e002affa9b0e44d964/merged]\\nnvidia-container-cli: initialization error: driver error: failed to process request\\n\\"\"": unknown.

and docker images: REPOSITORY TAG IMAGE ID CREATED SIZE nvidia-redtail-sim kinetic-v2 1ee3b207d729 8 hours ago 7.45GB nvidia/cuda 9.0-cudnn7-devel-ubuntu16.04 fde2f471fd51 6 days ago 2.61GB nvidia/cuda latest ea8be8b6d5f8 6 days ago 1.95GB Should I remove the 9.0 tag cuda? How to remove it? Thanks! Sincerely

aogrcs commented 6 years ago

I used ubuntu for vm, and could not install NVIDIA drivers. Thanks Sincerely