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:3d73f2713e5018a02ee0af0185833915782db596e1e7912a4ea3a0cda254f4f2COPY
/usr/local/sources.tgz /usr/local/
11/12/2026 10:33 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
ofed-version=26.10-070000
11/12/2026 10:32 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
doca-version=3.6.0
11/12/2026 10:32 AM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4CMD
sources
11/12/2026 10:32 AM UTC
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1WORKDIR
/root
11/12/2026 10:32 AM UTC
sha256:62b9e68bededd2102f8c2f17de138e1b77767ef854fc078b560a0fb2d0343914RUN
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=ubuntu26.04 D_DOCA_VERSION=3.6.0 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 10:32 AM UTC
sha256:9ce3d490de63f89eaa6148c1d9f81c00b497d501c858e5378188104c3f5fc62bCOPY
vendor/mlnx_ofed /opt/mlnx_ofed
11/12/2026 10:32 AM UTC
sha256:966ad4c1a37aa63dcaade4ae66d6d5989dcc141802fe9d95072d5e37d053bed1RUN
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=ubuntu26.04 D_DOCA_VERSION=3.6.0 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 10:32 AM UTC
sha256:78d664b5aa36d7579a25fc1e9c402adb5caad671e5767049143cedbe7faea636ADD
DOCA_BASE_SRC-debian-3.6.0-070000.tar.gz doca_base_src
11/12/2026 10:32 AM UTC
sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1WORKDIR
/run/mellanox/src
11/12/2026 10:32 AM UTC
1-10 of 47 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.