Skip to content

[docker] fix docker and gpu #9

@seblemaguer

Description

@seblemaguer

It is a bit more complicated than expected, so here is the process to add in the installation file:

  1. install nvidia-container-toolkit via yay
  2. docker/arch doesn't support cgroups for systemd, so it needs to be fixed this way:
    1. update the file /etc/nvidia-container-runtime/config.toml by replacing no-cgroups = true with no-cgroups = false
    2. update the default grub configuration /etc/default/grub by adding this systemd.unified_cgroup_hierarchy=false to the variable GRUB_CMDLINE_LINUX_DEFAULT
    3. update grub with the following command grub-mkconfig -o /boot/grub/grub.cfg
    4. restart the computer

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions