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

Provision the NVIDIA MOFED driver using containers.

  • LayerLabelCreated
    sha256:634848092a9e7eea54fad74ff8f4edb5335657ea6ff3cb6cfa060b6e1557db93COPY
    file:8ae42252dcb229cdadc5172c528e32b695b757ef0fa1edcf683b9286dbc71979 in /usr/local/
    02/01/2023 4:46 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENTRYPOINT
    /root/entrypoint.sh
    02/01/2023 4:43 AM UTC
    sha256:7b474545b50372392903e518113883d17d80d15ad5cb78ba19643dc9581be0c7ADD
    file:87db622672847d88d7c9cbf6dfdbbfb931f46494342c3ae332ea06daa39a3946 in /root/entrypoint.sh
    02/01/2023 4:43 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4WORKDIR
    /
    02/01/2023 4:43 AM UTC
    sha256:4f134d0c4765623ee2fd3bf32a1c4ea1b3e2fb1fd4c1235f99c453af8e33dcb5RUN
    D_APT_REMOVE=cuda D_ARCH=x86_64 D_NFSRDMA_FLAGS=--with-nvmf --with-nfsrdma D_OFED_BASE_URL=http://c-135-209-1-005 D_OFED_PATH=MLNX_OFED_LINUX-5.9-0.5.6.0-ubuntu22.04-x86_64 D_OFED_TARBALL_NAME=MLNX_OFED_LINUX-5.9-0.5.6.0-ubuntu22.04-x86_64.tgz D_OFED_URL_PATH=http://c-135-209-1-005/MLNX_OFED_LINUX-5.9-0.5.6.0-ubuntu22.04-x86_64.tgz D_OFED_VERSION=5.9-0.5.6.0 D_OS=ubuntu22.04 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 -) &&
      /root/${D_OFED_PATH}/mlnxofedinstall --without-fw-update --kernel-only --force ${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/*
    02/01/2023 4:42 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4WORKDIR
    /root
    02/01/2023 4:27 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_APT_REMOVE=
    02/01/2023 4:27 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
    02/01/2023 4:27 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_NFSRDMA_FLAGS=--with-nvmf --with-nfsrdma
    02/01/2023 4:27 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_OFED_URL_PATH=http://c-135-209-1-005/MLNX_OFED_LINUX-5.9-0.5.6.0-ubuntu22.04-x86_64.tgz
    02/01/2023 4:27 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.