Skip to main content
NVIDIA
NVIDIA DOCA-OFED Driver
Container
NVIDIA
NVIDIA DOCA-OFED Driver

NVIDIA DOCA-OFED Driver for NVIDIA Network Adapters The NVIDIA DOCA-OFED driver container offers an alternative to the traditional DOCA-Host package-based installation by simply deploying a containerized driver image on the host.

LayerLabelCreated
sha256:ec291984ffc77773b2119abbafd56eeab267a0b05d7f1165ccea677f397a3dc1COPY
/usr/local/sources.tgz /usr/local/
11/12/2026 8:21 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
ofed-version=26.10-070000
11/12/2026 8:20 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
doca-version=3.6.0
11/12/2026 8:20 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4CMD
sources
11/12/2026 8:20 AM UTC
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1WORKDIR
/root
11/12/2026 8:20 AM UTC
sha256:fd9af699b9ef50ba9a9862d5a1e3e18ca9f1995883dff840509ac50753bfc353RUN
D_APT_REMOVE=cuda D_OFED_VERSION=26.10-070000 D_CONTAINER_VER=1 D_OFED_SRC_DOWNLOAD_PATH=/run/mellanox/src STIG_COMPLIANT=false D_OS=ubuntu24.04 D_DOCA_VERSION=3.6.0 D_OFED_VERSION=26.10-070000 D_OFED_SRC_DOWNLOAD_PATH=/run/mellanox/src D_OFED_BASE_URL=https://linux.mellanox.com/public/repo/doca/3.6.0/SOURCES/mlnx_ofed D_OFED_SRC_TYPE=debian- D_OFED_SRC_ARCHIVE=MLNX_OFED_SRC-debian-26.10-070000.tgz D_OFED_URL_DEFAULT=https://linux.mellanox.com/public/repo/doca/3.6.0/SOURCES/mlnx_ofed/MLNX_OFED_SRC-debian-26.10-070000.tgz D_OFED_URL_PATH=DOCA_BASE_SRC-debian-3.6.0-070000.tar.gz set -eux &&
  resolved=$(cat ofed_src_resolved 2>/dev/null ||
  printf '%s' "${D_OFED_URL_PATH}") &&
  rm -f ofed_src_resolved &&
  if [ -d doca_base_src ]; then mv doca_base_src/* . &&
  rmdir doca_base_src; else tar -xzf doca_base_src &&
  rm -f doca_base_src; fi &&
  src_dir=$(find . -maxdepth 1 -type d -name 'DOCA_BASE_SRC-*' | head -1) &&
  if [ -n "${src_dir}" ]; then /opt/mlnx_ofed/stage_src_tree.sh "${src_dir}" "${NVIDIA_NIC_DRIVER_PATH}" deb; elif [ -f "${NVIDIA_NIC_DRIVER_PATH}/install.pl" ]; then echo "Using legacy source tree with bundled install.pl: ${NVIDIA_NIC_DRIVER_PATH}"; else echo "error: ${resolved} yielded neither a DOCA_BASE_SRC-* directory nor ${NVIDIA_NIC_DRIVER_PATH}/install.pl" >&2; exit 1; fi
11/12/2026 8:20 AM UTC
sha256:8358646cddad715b4da8112cf6686ff4045f9d38dda58d162d0b7c2aed051bd9COPY
vendor/mlnx_ofed /opt/mlnx_ofed
11/12/2026 8:20 AM UTC
sha256:5f8faf04824353feef5ea1d081a7c833ab428e29e4cbdd38162f8b9d167a7d88RUN
D_APT_REMOVE=cuda D_OFED_VERSION=26.10-070000 D_CONTAINER_VER=1 D_OFED_SRC_DOWNLOAD_PATH=/run/mellanox/src STIG_COMPLIANT=false D_OS=ubuntu24.04 D_DOCA_VERSION=3.6.0 D_OFED_VERSION=26.10-070000 D_OFED_SRC_DOWNLOAD_PATH=/run/mellanox/src D_OFED_BASE_URL=https://linux.mellanox.com/public/repo/doca/3.6.0/SOURCES/mlnx_ofed D_OFED_SRC_TYPE=debian- D_OFED_SRC_ARCHIVE=MLNX_OFED_SRC-debian-26.10-070000.tgz D_OFED_URL_DEFAULT=https://linux.mellanox.com/public/repo/doca/3.6.0/SOURCES/mlnx_ofed/MLNX_OFED_SRC-debian-26.10-070000.tgz D_OFED_URL_PATH=DOCA_BASE_SRC-debian-3.6.0-070000.tar.gz set -eux &&
  if [ "${D_OFED_URL_PATH}" = "README.md" ]; then src="${D_OFED_URL_DEFAULT}" &&
  legacy="${D_OFED_BASE_URL}/MLNX_OFED_SRC-${D_OFED_SRC_TYPE}${D_OFED_VERSION}.tgz" &&
  doca_major=$(printf '%s' "${D_DOCA_VERSION}" | cut -d. -f1) &&
  doca_minor=$(printf '%s' "${D_DOCA_VERSION}" | cut -d. -f2 | cut -d- -f1) &&
  doca_base=$(printf '%s' "${D_DOCA_VERSION}" | cut -d- -f1) &&
  if [ "$src" = "$legacy" ] &&
  { [ "$doca_major" -gt 3 ] ||
  { [ "$doca_major" -eq 3 ] &&
  [ "$doca_minor" -ge 6 ]; }; }; then case "${D_DOCA_VERSION}" in *-*) doca_full="${D_DOCA_VERSION}" ;; *) ofed_build=$(printf '%s' "${D_OFED_VERSION}" | cut -d- -f2-) &&
  case "$ofed_build" in ''|*[!0-9]*) echo "error: DOCA ${D_DOCA_VERSION} archives are named DOCA_BASE_SRC-${D_OFED_SRC_TYPE}${doca_base}-<build>.tar.gz; set D_OFED_VERSION to <ofed>-<build> (for example 26.10-069000) or pass D_OFED_URL_PATH" >&2 &&
  exit 1 ;; *) doca_full="${doca_base}-${ofed_build}" ;; esac ;; esac &&
  base=$(printf '%s' "${D_OFED_BASE_URL}" | sed "s#/doca/${D_DOCA_VERSION}/#/doca/${doca_base}/#") &&
  src="${base}/DOCA_BASE_SRC-${D_OFED_SRC_TYPE}${doca_full}.tar.gz" ; fi &&
  echo "Using OFED source: ${src}" &&
  printf '%s\n' "$src" > ofed_src_resolved &&
  curl -fsSL -o doca_base_src "$src" ; else echo "Using OFED source: ${D_OFED_URL_PATH}" &&
  printf '%s\n' "${D_OFED_URL_PATH}" > ofed_src_resolved ; fi
11/12/2026 8:20 AM UTC
sha256:f9d3a70a8f644148f313db815874fe001d70d99fc0a7cb54012939118b0a61bdADD
DOCA_BASE_SRC-debian-3.6.0-070000.tar.gz doca_base_src
11/12/2026 8:20 AM UTC
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1WORKDIR
/run/mellanox/src
11/12/2026 8:20 AM UTC
1-10 of 45 items

Modal Content

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.