Skip to main content
NVIDIA
NVIDIA MOFED Driver
Container
NVIDIA
NVIDIA MOFED Driver

Provision the NVIDIA MOFED driver using containers.

  • LayerLabelCreated
    sha256:e3ad66775ee2dd439d740c7e5db847d10252629e6668e9ddde06fdd62a3c5da6COPY
    file:fa401303660a408a1cb2e1319fecc02f34eb936e094af493159727a548e99b55 in /usr/local/
    08/08/2023 12:41 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENTRYPOINT
    /root/entrypoint.sh
    08/08/2023 12:39 AM UTC
    sha256:56724f9ef454e0653f10ac2c2115cde4189487b85d50fde5a6940208189e6d25ADD
    file:7e56e1b6de2e367d517b3b51f6b5ba48a15671d58e57f42a81d076502f0415a2 in /root/entrypoint.sh
    08/08/2023 12:39 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4WORKDIR
    /
    08/08/2023 12:39 AM UTC
    sha256:06f979299b8d2504ee83a6f53cf2f4099a6fe2eb0931416e8819ff8017a1b0c7RUN
    D_APT_REMOVE=cuda D_ARCH=x86_64 D_NFSRDMA_FLAGS=--with-nvmf --with-nfsrdma D_OFED_BASE_URL=http://c-141-215-1-005 D_OFED_PATH=MLNX_OFED_LINUX-23.07-0.5.0.0-ubuntu22.04-x86_64 D_OFED_TARBALL_NAME=MLNX_OFED_LINUX-23.07-0.5.0.0-ubuntu22.04-x86_64.tgz D_OFED_URL_PATH=http://c-141-215-1-005/MLNX_OFED_LINUX-23.07-0.5.0.0-ubuntu22.04-x86_64.tgz D_OFED_VERSION=23.07-0.5.0.0 D_OS=ubuntu22.04 D_UDEV_FLAGS= D_WITHOUT_FLAGS=--without-rshim-dkms --without-iser-dkms --without-isert-dkms --without-srp-dkms --without-kernel-mft-dkms --without-mlnx-rdma-rxe-dkms set -x &&
      for source in ${D_APT_REMOVE}; do rm -f /etc/apt/sources.list.d/${source}.list; done &&
      apt-get -yq update &&
      apt-get -yq install curl perl &&
      (curl -sL ${D_OFED_URL_PATH} | tar -xzf -) &&
      mkdir -p /etc/dpkg/dpkg.cfg.d &&
      echo 'path-include=/usr/share/doc/*/examples/*' >> /etc/dpkg/dpkg.cfg.d/excludes &&
      /root/${D_OFED_PATH}/mlnxofedinstall --without-fw-update --kernel-only --force ${D_UDEV_FLAGS} ${D_NFSRDMA_FLAGS} ${D_WITHOUT_FLAGS} &&
      rm -rf /tmp/MLNX_OFED_LINUX* &&
      sed -i '/ESP_OFFLOAD_LOAD=yes/c\ESP_OFFLOAD_LOAD=no' /etc/infiniband/openib.conf &&
      cp /root/${D_OFED_PATH}/docs/scripts/openibd-post-start-configure-interfaces/post-start-hook.sh /etc/infiniband/post-start-hook.sh &&
      chmod +x /etc/infiniband/post-start-hook.sh &&
      apt-get -yq install iproute2 net-tools ifupdown linux-modules-$(uname -r) netplan.io &&
      rm -rf /root/${D_OFED_PATH} &&
      apt-get clean autoclean &&
      rm -rf /var/lib/apt/lists/*
    08/08/2023 12:39 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4WORKDIR
    /root
    08/08/2023 12:33 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_APT_REMOVE=
    08/08/2023 12:33 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_WITHOUT_FLAGS=--without-rshim-dkms --without-iser-dkms --without-isert-dkms --without-srp-dkms --without-kernel-mft-dkms --without-mlnx-rdma-rxe-dkms
    08/08/2023 12:33 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_NFSRDMA_FLAGS=--with-nvmf --with-nfsrdma
    08/08/2023 12:33 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_UDEV_FLAGS=--copy-ifnames-udev
    08/08/2023 12:33 AM UTC

    NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.