-
Notifications
You must be signed in to change notification settings - Fork 0
[docker] fix docker and gpu #9
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
It is a bit more complicated than expected, so here is the process to add in the installation file:
- install
nvidia-container-toolkitvia yay - docker/arch doesn't support cgroups for systemd, so it needs to be fixed this way:
- update the file
/etc/nvidia-container-runtime/config.tomlby replacingno-cgroups = truewithno-cgroups = false - update the default grub configuration
/etc/default/grubby adding thissystemd.unified_cgroup_hierarchy=falseto the variableGRUB_CMDLINE_LINUX_DEFAULT - update grub with the following command
grub-mkconfig -o /boot/grub/grub.cfg - restart the computer
- update the file
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working