Autoware docker 环境安装

Posted llfctt

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Autoware docker 环境安装相关的知识,希望对你有一定的参考价值。

环境: ubuntu 16.04    GPU:GeForce 1070   nvidia 驱动型号:nvidia_driver_390.67

安装参考网址:

https://github.com/CPFL/Autoware/wiki/Generic-x86-Docker

遇到的问题:

(1)nvidia-docker 测试:sudo nvidia-docker run --rm nvidia/cuda nvidia-smi

Use kinetic
Shared directory: /home/root/shared_dir
docker: Error response from daemon: create nvidia_driver_390.67: VolumeDriver.Create: internal error, check logs for details.
See ‘docker run --help‘.

解决方法:nvidia-docker volume create nvidia_driver_390.67  (和nvidia_driver_390.67对应)

(2)[email protected]:~/Autoware/ros$ sudo ./run

Process Manager
No protocol specified


(gksudo:97): Gtk-WARNING **: cannot open display: :0
No protocol specified
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
No protocol specified
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Failed to parse arguments: Cannot open display:
Failed to parse arguments: Cannot open display:

解决方法:重新打开一个终端 输入命令 : sudo xhost +
















以上是关于Autoware docker 环境安装的主要内容,如果未能解决你的问题,请参考以下文章

autoware中lgsvl Simulator安装与使用:LGsvl Simulator 2021.2.1版

docker安装及环境配置

如何在redhat环境下安装docker

Linux环境下安装docker环境(亲测无坑)

打造专属的docker开发环境(二)-centos安装httpd

Docker学习Centos7环境安装Docker