sair-lab / AirSLAM

🚀 AirVO upgrades to AirSLAM 🚀
GNU General Public License v3.0
714 stars 102 forks source link

Ubuntu 20.04 docker enviroment error: unknown or invalid runtime name: nvidia. #113

Closed Lx017 closed 2 months ago

Lx017 commented 2 months ago

Hi, I have already pulled the docker successfully (with sudo if that matters) and run: sudo docker run -it --env DISPLAY=$DISPLAY --volume /tmp/.X11-unix:/tmp/.X11-unix --privileged --runtime nvidia --gpus all --volume ${PWD}:/workspace --workdir /workspace --name air_slam xukuanhit/air_slam:v1 /bin/bash However, docker gives me: docker: Error response from daemon: unknown or invalid runtime name: nvidia. what is the solution?

xukuanHIT commented 2 months ago

@Lx017 Hi, you need to install the nvidia docker.

Lx017 commented 2 months ago

I cannot get configuration and setup right in any way on Ubuntu 20.04, main issue is from nvidia and docker. But 22.04 can work.