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:39109b0b33155b627b62ee961bb66d7e322118062b518f680be172fb7d3266c5COPY
/usr/local/sources.tgz /usr/local/
11/12/2026 8:14 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
ofed-version=26.10-070000
11/12/2026 8:14 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
doca-version=3.6.0
11/12/2026 8:14 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4CMD
sources
11/12/2026 8:14 AM UTC
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1WORKDIR
/root
11/12/2026 8:14 AM UTC
sha256:bebff610de712a8c80edb9ab1cad7b3030d5a7cf338c0bf70d87cbb834db0242RUN
D_OS=ubuntu22.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:14 AM UTC
sha256:5359c7a313c47330d9ac6a04ba659cdaa46f63ddb7b0e86220950d599243f7b4COPY
vendor/mlnx_ofed /opt/mlnx_ofed
11/12/2026 8:14 AM UTC
sha256:308187d41afec7b7d7a5943e1d45b8b8ef9193ae5e671b90c8fa2186844bd118RUN
D_OS=ubuntu22.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:14 AM UTC
sha256:5cb9a485ea6adcdb8c590763dc1b163d8ad2c7213f346ca7857e46c6b56dbf32ADD
DOCA_BASE_SRC-debian-3.6.0-070000.tar.gz doca_base_src
11/12/2026 8:14 AM UTC
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1WORKDIR
/run/mellanox/src
11/12/2026 8:14 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.