doca-bare-metal-deployment
Running a DOCA-linked binary directly on the hardware, with no container or kubelet: on host x86 with a BlueField NIC over PCIe, or bare-metal on BlueField Arm. Use this skill for launching and supervising it (direct, tmux, systemd), and when it "exits 1 right after launch", "systemd keeps restartin
- 01GitHub stars
- 3.8K
- 02Installs
- New
- 03Files scanned
- 7
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 1e3ab66742d37455… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
DOCA bare-metal deployment
Examples
- "The binary exits 1 right after launch." — this is in scope. Treat it as a launch / device-bind / isolation failure before rewriting application code.
- "systemd keeps restarting my DOCA app." — a restart loop on hardware is high-stakes. Debug the first exit before enabling Restart=always.
Instructions
Follow Loading order below. Open the tasks companion for launch / supervise / recover, and the capabilities companion for the runtime contract. Do not open every companion file.
Where to start: This skill is the bundle's home for operating
a DOCA-linked application binary directly on hardware — no
container, no kubelet, no static-pod manifest. It is the parallel
of doca-container-deployment/SKILL.md
for the non-container path. If the user has a DOCA-linked binary
they built (per the canonical workflow in
doca-programming-guide/SKILL.md)
and they want to know how to actually run it on the host or on
the BlueField Arm cores correctly, open
the tasks companion and start at
## configure. If the question is what
shape does the bare-metal runtime even have and what is the
deployment contract, start at the capabilities companion.
If the user is not yet sure whether their target system shape is
the container path or the bare-metal path, route the recognition
step to doca-setup/SKILL.md first; only return
here once bare-metal is the confirmed shape.
Audience
This skill serves external DOCA developers and operators who have a DOCA-linked application binary they built and want to run it directly on hardware — i.e., people who already have:
- a DOCA-linked application binary they built per
doca-programming-guide ## build, - a real BlueField NIC and a host that talks to it (the host x86 path — DOCA host install on the host talks to the BlueField NIC over PCIe), OR a BlueField with a console or SSH to the Arm side (the BlueField Arm bare-metal path — DOCA installed on the DPU Arm cores; the binary runs there directly), and
- a desire to RUN that binary directly on the hardware, not inside a kubelet-standalone-managed container.
It is not for:
- kernel-driver developers contributing to
mlx5_*or the BlueField OS, - DOCA library contributors (library changes are outside the scope of a bare-metal deployment),
- full-Kubernetes-cluster operators managing a fleet of
BlueFields (the bundle covers
doca-container-deployment/SKILL.mdfor the single-host kubelet-standalone shape; fleet/production-scale deployment is fleet-orchestration scope — route to the orchestration entry-point indoca-public-knowledge-map ## Deploying DOCA services at scale(DPF / Network Operator / Launch Kit), not hand-rolled static-pod loops), - fresh-laptop-no-hardware users with no DOCA install yet — those
belong on
doca-setup ## no-install.
The skill teaches the agent the bare-metal-deployment procedure
and the rules for quoting documented commands from the public DOCA
Programming Guide and the public BlueField / DPU User Manual via
doca-public-knowledge-map/SKILL.md;
it does not invent flag names, PCI BDFs, NUMA numbers, devlink
paths, representor strings, or systemd Restart= mode names from
memory.
When to load this skill
Load this skill when the user is doing hands-on bare-metal deployment of a DOCA-linked application binary on either of the two supported host modes (host x86 or BlueField Arm), or asking a cross-cutting bare-metal question that is not specific to one library's API. Concretely:
- Launching a DOCA-linked binary for the first time on a host with a BlueField NIC in a PCIe slot, with DOCA installed on the host.
- Launching a DOCA-linked binary on the BlueField Arm cores directly (BlueField Arm bare-metal mode), with DOCA installed on the Arm side per the BlueField OS image.
- Deciding which launch mode to use (direct foreground for interactive debug; tmux/screen for long-running with manual reattach; systemd-supervised for restart-after-reboot, journald-integrated logs, and Restart= policy).
- Binding the DOCA process to the right PCIe function, the right representor, the right NUMA node, and the right CPU set — and pinning IRQs to match — without inventing the addresses or the flag names.
- Setting up per-tenant isolation (cgroup-v2 cpu / memory / io
controllers, network namespaces for multi-tenant deployments,
numactl/tasksetfor CPU + NUMA binding) so multiple DOCA processes co-tenant on the same BlueField without crushing each other. - Diagnosing a bare-metal launch that is misbehaving — won't start, starts and exits immediately, runs but can't find the device, attaches to the device but the workload errors, OOMs or is signal-killed, is in a restart loop under a supervisor, or is being interfered with by a co-tenant.
- Cross-cutting questions: "should I run this in tmux or as a systemd unit", "what is the smoke-before-bulk loop for a binary on bare metal", "my binary works in a container on the BlueField but not when I run it directly on the Arm — what changed".
Do not load this skill for the container-path equivalent
(those questions go to
doca-container-deployment/SKILL.md);
for full-Kubernetes-cluster operations (out of scope per the
bundle's non-goals); for library-API questions (route to the
matching libs/<library> skill); for env-preparation questions
including hugepages, IOMMU, pkg-config, and devlink mode flips
(use doca-setup/SKILL.md); for any
hardware-state-changing operation including mlxconfig writes
and BFB reflashes (route to
doca-hardware-safety/SKILL.md for the
cross-cutting meta-policy); or for cross-library programming
questions (use
doca-programming-guide/SKILL.md).
What this skill provides
This is a thin loader. Substantive material lives in two companion files:
- the capabilities companion — the bare-metal deployment runtime contract
for a DOCA-linked binary: the two host modes (host x86 vs
BlueField Arm bare-metal), the three launch modes (direct,
tmux/screen, systemd-supervised), the hardware-resource-binding
surface (PF / VF / representor enumeration; NUMA topology
discovery; CPU pinning rationale; IRQ affinity rules), the
per-tenant isolation surface (cgroup-v2 cpu / memory / io,
network namespaces,
numactl/taskset), the restart and recovery semantics (documentedsystemdRestart=modes vs crash-and-investigate vs supervisor-driven restart), the bare-metal-specific version overlay on the four-way version match owned bydoca-version/SKILL.md, the cross-cutting error taxonomy (seven layers, walked in order), the observability surface (stdout/stderr discipline by launch mode; device-state introspection viadevlink/sysfs/mlxconfigquery; per-tenant resource visibility), and the safety policy (overlay ondoca-hardware-safety/SKILL.md: smoke-before-bulk for binaries; failed bare-metal process is HIGH-STAKES; do not invent PCI addresses, NUMA numbers, representor names, devlink paths, or systemdRestart=mode names; confirm tenant-isolation primitives BEFORE the workload starts). - the tasks companion — step-by-step workflows for the in-scope bare-metal
verbs:
configure,build,modify,run(with an explicit### isolationsub-anchor covering cgroup-v2 / namespaces / numactl per-tenant primitives),test,debug,bluefield-lifecycle(the BFB-install → RShim/TMFIFO → post-BFB-recovery operational sequencing ladder, with the six-statebluefield-state-classifiersub-anchor), theCommand appendix(documented commands the agent may quote, each cross-linked to its public-doc source — no invented commands), and theDeferred task verbsblock routing container-path / cluster / library-API / env-prep / hardware-state-change / cross-library questions out to their owning skills. (The change-application discipline for any mutating burn invoked from## bluefield-lifecycleis still meta-policy owned bydoca-hardware-safety/SKILL.md, loaded alongside.)
The skill assumes a host or BlueField target where:
- DOCA is already installed and healthy (per
doca-setup ## test), - the user has a DOCA-linked application binary they built (per
doca-programming-guide ## build), - the user has the host-OS permissions to enumerate devices, reserve hugepages, write systemd units (if they choose that launch mode), and bind processes to NUMA nodes.
It does not cover installing DOCA — that path goes through
doca-setup/SKILL.md — and it does not cover
building the binary — that path goes through
doca-programming-guide/SKILL.md.
Loading order
- Read this skill first to confirm the user's question is in scope (bare-metal launch of a DOCA-linked binary on host x86 or BlueField Arm; NOT the container path, NOT a full cluster, NOT a library-API question).
- For the runtime contract (two host modes, three launch modes, hardware-binding surface, per-tenant isolation, version overlay, seven-layer error taxonomy, observability surface, bare-metal safety overlay), see the capabilities companion.
- For step-by-step workflows —
configure,build(routing stub),modify(routing stub),run(with### isolationsub-anchor),test,debug,bluefield-lifecycle(BFB install + RShim/TMFIFO + post-BFB recovery + the six-statebluefield-state-classifier), plus theCommand appendixand theDeferred task verbsblock — see the tasks companion.
Example questions this skill answers well
What this skill deliberately does not ship
Related skills
Files
7- BENCHMARK.md
a9d97870a010.4 KB - CAPABILITIES.md
60bc58374339.9 KB - SKILL.md
d8a580676911.0 KB - TASKS.md
6ad8612ecd61.6 KB - evals/evals.json
96658e943d3.2 KB - references/details.md
c13a36fe5610.1 KB - skill-card.md
7d0ebe03277.3 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from NVIDIA/skills8
Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and multi-GPU DataFrame workloads.
Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.
Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.
Customize NVIDIA Nemotron Voice Agent's Generic Pipecat example for healthcare appointment, five-field patient intake, or custom tool-calling workflows without a separate backend.
Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.
Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice. Use when user says 'test sample dataset', 'run sample calibration', 'verify AMC install', or 'launch and test'.
Calibrates pre-recorded `cam_*.mp4` datasets through the AutoMagicCalib REST API. Use for user-supplied local MP4s; route live RTSP streams to `amc-run-rtsp-calibration`.
Launch AutoMagicCalib microservice and web UI from NGC release images via Docker Compose. Use when user says 'deploy auto calibration', 'launch auto calibration', 'launch AMC', 'start MS+UI', or 'set up auto-magic-calib'. Requires NGC API key.
Related devops skillsscan passed
Configure deployment settings for /land-and-deploy. Use for: configure deploy, setup deployment.
Guides building and deploying Atlassian Forge Teamwork Graph connector apps that ingest external data into Atlassian's Teamwork Graph, making it searchable in Rovo Search and surfaced in Rovo Chat. Use when the user wants to build a Forge connector, ingest external data into Atlassian, connect a thi
Define and implement Service Level Indicators (SLIs) and Service Level Objectives (SLOs) with error budgets and alerting. Use when establishing reliability targets, implementing SRE practices, or measuring service performance.
| Nuxt 4 production optimization: hydration, performance, testing with Vitest, deployment to Cloudflare/Vercel/Netlify, and v4 migration. Use when: debugging hydration mismatches, optimizing performance and Core Web Vitals, writing tests with Vitest, deploying to Cloudflare Pages/Workers/Vercel/Netl
Designs, deploys, reviews, evaluates, audits, and troubleshoots video streaming workflows across AWS media services (MediaConnect, MediaLive, MediaConvert, MediaPackage v2, MediaTailor, CloudFront). Includes per-service validation rules, cross-service workflow patterns for live streaming, linear cha