[lxc-devel] [lxc/lxc] 58e29e: hooks: add mount hook to configure access to NVIDI...

GitHub noreply at github.com
Tue Dec 19 14:06:22 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 58e29e9bf15cdf9ce217889524a4b24a048c7ece
      https://github.com/lxc/lxc/commit/58e29e9bf15cdf9ce217889524a4b24a048c7ece
  Author: Felix Abecassis <fabecassis at nvidia.com>
  Date:   2017-12-18 (Mon, 18 Dec 2017)

  Changed paths:
    M hooks/Makefile.am
    A hooks/nvidia

  Log Message:
  -----------
  hooks: add mount hook to configure access to NVIDIA GPUs

This hook requires the nvidia-container-cli tool provided by libnvidia-container:
https://github.com/nvidia/libnvidia-container

For containers that do not have CUDA_VERSION or NVIDIA_VISIBLE_DEVICES
set in the environment, the hook will be a no-op.

To enable in the configuration file:
lxc.hook.mount = /usr/local/share/lxc/hooks/nvidia

Signed-off-by: Felix Abecassis <fabecassis at nvidia.com>


  Commit: 0720664d932d31f7d567ecd6305b30374cc2ae20
      https://github.com/lxc/lxc/commit/0720664d932d31f7d567ecd6305b30374cc2ae20
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-12-19 (Tue, 19 Dec 2017)

  Changed paths:
    M hooks/Makefile.am
    A hooks/nvidia

  Log Message:
  -----------
  Merge pull request #2015 from flx42/nvidia-mount-hook

hooks: add mount hook to configure access to NVIDIA GPUs


Compare: https://github.com/lxc/lxc/compare/92b17705d05b...0720664d932d


More information about the lxc-devel mailing list