-
Notifications
You must be signed in to change notification settings - Fork 2k
How to run test nvidia-smi with rootless docker? #1155
Comments
command : docker run -e NVIDIA_VISIBLE_DEVICES=all nvidia/cuda:9.0-base nvidia-smi Method 2 followed link: |
When I use Dockerfile.ubuntu for my pc I am seeing the below issue. can someone provide the fix for the same. Step 20/21 : RUN sed -i "s;@Version@;${REVISION};" debian/changelog && sed -i "s;@Version@;${PKG_VERS};" $DIST_DIR/nvidia-docker && if [ "$REVISION" != "$(dpkg-parsechangelog --show-field=Version)" ]; then echo "$(dpkg-parsechangelog --show-field=Version)" && exit 1; fi |
I resolved this problem myself. @krishnadasari610 Is above patch helpful for you? |
We encountered the same error. To summarize, we had to edit
|
Thank you! I can use |
We still need to have access to root privileges in order to edit the file ( |
My system is set up docker with rootless mode.
I tried to install NVIDIA Container Toolkit by Quick start, and maybe it was successed.
But following error was occured to run test nvidia-smi with
docker run --gpus all nvidia/cuda:10.0-base nvidia-smi
.It seems docker doesn't have permission to devices.allow because of rootless mode.
Is there some solutions?
Notice
My system is running behind porxy environmnent.
So rootless docker needs some settings, but maybe it is not relevant.
The text was updated successfully, but these errors were encountered: