NVIDIA-ISAAC-ROS / NVIDIA-ISAAC-ROS/isaac_ros_common
docker: Error response from daemon: error while creating mount source path '/dev/*': mkdir /dev/*: permission denied.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 317
- Forks
- 227
- PR merge metrics
- No merged PRs in 30d
Description
I am seeing this error when trying to run cd ${ISAAC_ROS_WS}/src/isaac_ros_common && \
./scripts/run_dev.sh ${ISAAC_ROS_WS} found here in the isaac_ros_visual_slam Quickstart guide:
docker: Error response from daemon: error while creating mount source path '/dev/*': mkdir /dev/*: permission denied.
~/workspaces/isaac_ros-dev/src/isaac_ros_common
I followed these instructions for setting up the Nvidia Container Toolkit using Apt and the rootless Docker configuration. All of that seemed to go smoothly and I can run the docker hello-world in both sudo and rootless mode.
I have an Nvidia 4080 (Driver Version: 535.154.05) and here is the output from running nvcc --version:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
Any ideas on how to fix this problem?
All of the posts say you should not run the run_dev.sh script with sudo so that does not seem like the issue.
Also, isn't it a potential security issue to mount the entire /dev/ directory into a container that runs with privileged access? Maybe I'm not understanding how that works, but it just seemed odd to see -v /dev/*:/dev/* in the docker run command.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the isaac_ros_visual_slam Quickstart and the scripts/run_dev.sh entry point, then reproduce the command using rootless Docker and the reported NVIDIA Container Toolkit setup. Done means identifying why the /dev/* mount fails, establishing whether the documented command works in the supported configuration, and documenting the required fix or mount behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100