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

Provision the NVIDIA MOFED driver using containers.

  • LayerLabelCreated
    sha256:36a26f2d28b8403322d96582f8916691234e2a8a203df3c7b0270d10dcaa5c08COPY
    file:59ab3d9267704a32b0a883b9c608b506c3e46e55cd09173fea4c0e99481b90da in /usr/local/
    02/01/2023 4:30 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENTRYPOINT
    /root/entrypoint.sh
    02/01/2023 4:28 AM UTC
    sha256:65c2febd3e671e2a08af12d0b072b04f36f1619b14867415fa50199f5e0cd037ADD
    file:87db622672847d88d7c9cbf6dfdbbfb931f46494342c3ae332ea06daa39a3946 in /root/entrypoint.sh
    02/01/2023 4:28 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4WORKDIR
    /
    02/01/2023 4:28 AM UTC
    sha256:3ae28559b9cb561cdd43bf9309bf222588a533220ffade71f85c70ae58cab666RUN
    D_APT_REMOVE=cuda D_ARCH=x86_64 D_NFSRDMA_FLAGS=--with-nvmf --with-nfsrdma D_OFED_BASE_URL=http://c-235-255-1-007 D_OFED_PATH=MLNX_OFED_LINUX-5.9-0.5.6.0-ubuntu18.04-x86_64 D_OFED_TARBALL_NAME=MLNX_OFED_LINUX-5.9-0.5.6.0-ubuntu18.04-x86_64.tgz D_OFED_URL_PATH=http://c-235-255-1-007/MLNX_OFED_LINUX-5.9-0.5.6.0-ubuntu18.04-x86_64.tgz D_OFED_VERSION=5.9-0.5.6.0 D_OS=ubuntu18.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:28 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4WORKDIR
    /root
    02/01/2023 4:23 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_APT_REMOVE=
    02/01/2023 4:23 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:23 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_NFSRDMA_FLAGS=--with-nvmf --with-nfsrdma
    02/01/2023 4:23 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    D_OFED_URL_PATH=http://c-235-255-1-007/MLNX_OFED_LINUX-5.9-0.5.6.0-ubuntu18.04-x86_64.tgz
    02/01/2023 4:23 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.