Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown runtime specified nvidia. #1

Open
yxf010 opened this issue Apr 9, 2019 · 5 comments
Open

Unknown runtime specified nvidia. #1

yxf010 opened this issue Apr 9, 2019 · 5 comments

Comments

@yxf010
Copy link

yxf010 commented Apr 9, 2019

when run bash -x docker/run.sh

  • '[' '' = '' ']'

  • DOCKER_NAME=cedricxie/apollo-perception-ros:latest

  • XSOCK=/tmp/.X11-unix

  • XAUTH=/home/phe/.Xauthority

  • SHARED_DIR=/home/yx/shared_dir

  • HOST_DIR=/home/phe/shared_dir

  • mkdir -p /home/phe/shared_dir

  • echo 'Shared directory: /home/phe/shared_dir'
    Shared directory: /home/phe/shared_dir

  • docker run -it --rm --volume=/home/phe/shared_dir:/home/yx/shared_dir:rw --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw --volume=/home/phe/.Xauthority:/home/phe/.Xauthority:rw --env=XAUTHORITY=/home/phe/.Xauthority --env=DISPLAY=:0 --env=QT_X11_NO_MITSHM=1 -u yx --privileged -v /dev/bus/usb:/dev/bus/usb -v /dev/video0:/dev/video0 --net=host --runtime=nvidia cedricxie/apollo-perception-ros:latest
    docker: Error response from daemon: Unknown runtime specified nvidia.
    See 'docker run --help'.

    error :--runtime=nvidia \
    how to slove it?

@cedricxie
Copy link
Owner

Hello, please install nvidia docker.

@yxf010
Copy link
Author

yxf010 commented Apr 9, 2019

[build] Summary: 7 of 8 packages succeeded.
[build] Ignored: None.
[build] Warnings: 1 packages succeeded with warnings.
[build] Abandoned: None.
[build] Failed: 1 packages failed.
[build] Runtime: 17 minutes and 38.9 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
are you chinese?My wechat is yxf010

@yxf010
Copy link
Author

yxf010 commented Apr 9, 2019

what should we get those data which in step 6?and how use it

@cedricxie
Copy link
Owner

Hello @yxf010 , the rosbag is the recorded sensor data. I would suggest to go through the ros tutorial at http://wiki.ros.org/ROS/Tutorials to get yourself familiar with the framework. Thank you.

Yuesong

@yasenh
Copy link

yasenh commented Apr 11, 2019

@yxf010
I think the building error was mentioned in "Known issues", just rerun the catkin build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants