Skip to content

Commit

Permalink
Update pc_setup_admin.sh
Browse files Browse the repository at this point in the history
modify daemon.json usage rights and open config.toml
  • Loading branch information
ll7 authored Oct 17, 2024
1 parent c3ce507 commit 246b213
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pc_setup_admin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@ sudo nvidia-ctk runtime configure --runtime=docker # configure the runtime to us
sudo systemctl restart docker

sudo nvidia-ctk runtime configure --runtime=docker --config=/home/"$1"/.config/docker/daemon.json
sudo chown "$1":"$1" /home/"$1"/.config/docker/daemon.json

sudo systemctl restart docker

# Could be removed, because it does not appear to work
sudo nvidia-ctk config --set nvidia-container-cli.no-cgroups --in-place

sudo snap install --classic code

sudo nano /etc/nvidia-container-runtime/config.toml

0 comments on commit 246b213

Please sign in to comment.