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

Provision the NVIDIA MOFED driver using containers.

  • LayerLabelCreated
    sha256:1c39e92870b484a7a7a706054bdd4ddada72580515b0ebafbaf913052f130c32COPY
    file:c8a27cdc2c4e5f5c63981996391b315b42ac586f96c07a582cf11a6415052b01 in /usr/local/
    11/14/2023 3:43 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENTRYPOINT
    /root/entrypoint.sh
    11/14/2023 3:40 PM UTC
    sha256:e8a02967f6bbc31de1994ad966d38612eef40da881398b4001e5a910dc110a4dADD
    file:64be81b040b0247f2a0706d26ca16258fd58c07e91697aa7b13940f1792f8fc8 in /root/entrypoint.sh
    11/14/2023 3:40 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4WORKDIR
    /
    11/14/2023 3:40 PM UTC
    sha256:1d26c90b9086f8d4c5d8667b8e884f84e8642f5d81ecdd5c349aa8694105c5b9RUN
    D_APT_REMOVE=cuda D_ARCH=x86_64 D_NFSRDMA_FLAGS=--with-nvmf --with-nfsrdma D_OFED_BASE_URL=http://c-141-46-1-009 D_OFED_PATH=MLNX_OFED_LINUX-23.10-0.5.5.0-ubuntu20.04-x86_64 D_OFED_TARBALL_NAME=MLNX_OFED_LINUX-23.10-0.5.5.0-ubuntu20.04-x86_64.tgz D_OFED_URL_PATH=http://c-141-46-1-009/MLNX_OFED_LINUX-23.10-0.5.5.0-ubuntu20.04-x86_64.tgz D_OFED_VERSION=23.10-0.5.5.0 D_OS=ubuntu20.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 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:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4WORKDIR
    /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.