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

Provision the NVIDIA MOFED driver using containers.

  • LayerLabelCreated
    sha256:9d0863b15160d1cf0898acdcd86c4810e21529baca66ee2821dfa652175b792eCOPY
    /usr/local/sources.tgz /usr/local/
    11/14/2023 3:40 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENTRYPOINT
    /root/entrypoint.sh
    11/14/2023 3:40 PM UTC
    sha256:9679611aa5338135e8053f3d7c9cd3969f626c43a591ea79b5454a6362973337ADD
    ./entrypoint.sh /root/entrypoint.sh
    11/14/2023 3:40 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4WORKDIR
    /
    11/14/2023 3:40 PM UTC
    sha256:e82bcedd534920d05c29d18751150485e8dfe70b7aae7cfe926536a02e4fa17cRUN
    D_OFED_VERSION=23.10-0.5.5.0 D_OS=ubuntu22.04 D_ARCH=x86_64 D_OFED_PATH=MLNX_OFED_LINUX-23.10-0.5.5.0-ubuntu22.04-x86_64 D_OFED_TARBALL_NAME=MLNX_OFED_LINUX-23.10-0.5.5.0-ubuntu22.04-x86_64.tgz D_OFED_BASE_URL=http://c-236-2-60-065 D_OFED_URL_PATH=http://c-236-2-60-065/MLNX_OFED_LINUX-23.10-0.5.5.0-ubuntu22.04-x86_64.tgz D_UDEV_FLAGS= D_NFSRDMA_FLAGS=--with-nvmf --with-nfsrdma D_WITHOUT_FLAGS=--without-rshim-dkms --without-iser-dkms --without-isert-dkms --without-srp-dkms --without-kernel-mft-dkms --without-mlnx-rdma-rxe-dkms D_APT_REMOVE=cuda 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 jq 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/*
    11/14/2023 3:40 PM UTC
    sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1WORKDIR
    /root
    11/14/2023 3:33 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_APT_REMOVE=
    11/14/2023 3:33 PM 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
    11/14/2023 3:33 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_NFSRDMA_FLAGS=--with-nvmf --with-nfsrdma
    11/14/2023 3:33 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_UDEV_FLAGS=--copy-ifnames-udev
    11/14/2023 3:33 PM 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.