
DOCA Bare-Metal Deployment
OfficialFreeEfficiently run DOCA binaries directly on hardware.
Free · Opens the source repo
What DOCA Bare-Metal Deployment does
The DOCA Bare-Metal Deployment skill is designed for developers and operators who need to launch and manage DOCA-linked application binaries directly on hardware without the use of containers or orchestration tools. It provides a comprehensive guide to deploying applications on BlueField NICs, either on a host x86 system or directly on BlueField Arm cores. This skill is particularly useful for those who have already built their DOCA applications and are looking to execute them in a bare-metal environment.
This skill covers various aspects of bare-metal deployment, including launch modes such as direct execution, tmux sessions for long-running processes, and systemd for managing service restarts. It also addresses critical tasks like PCI/NUMA/CPU/IRQ binding and ensuring co-tenant isolation through cgroup-v2 and network namespaces. With a focus on troubleshooting, the skill helps users diagnose issues such as immediate exits, systemd restart loops, and device attachment failures, providing a structured approach to resolving these common deployment challenges.
For users unsure about their deployment path, this skill directs them to the appropriate resources for determining whether to use a container or bare-metal approach. It emphasizes the importance of having a DOCA-linked binary ready and a compatible hardware setup, ensuring that users can effectively utilize the skill to achieve their deployment goals. By leveraging the detailed instructions and guidelines provided, users can confidently execute their DOCA applications directly on the hardware, optimizing performance and reliability in their deployments.
When to use it
Use this skill when launching a DOCA-linked binary directly on a host or BlueField Arm cores, or when troubleshooting bare-metal deployment issues.
When not to use it
Do not use this skill for container-based deployments or full Kubernetes cluster operations, as it is specifically tailored for bare-metal scenarios.
What you can build with it
Launching a DOCA Binary for the First Time
Use this skill to execute a DOCA-linked binary on a host with a BlueField NIC, ensuring proper setup and binding.
Diagnosing Deployment Issues
When a binary fails to run correctly, this skill provides troubleshooting steps to identify and resolve the problem.
Choosing the Right Launch Mode
This skill helps users decide between direct execution, tmux, or systemd for launching their DOCA applications.
How to install DOCA Bare-Metal Deployment
View source1. Install with the skills CLI
npx skills add nvidia/skills/doca-bare-metal-deployment --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by nvidiaDOCA bare-metal deployment
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
for the non-container path. If the user has a DOCA-linked binary
they built (per the canonical workflow in
doca-programming-guide)
and they want to know how to actually run it on the host or on
the BlueField Arm cores correctly, open
TASKS.md 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 CAPABILITIES.md.
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 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 (those changes go to the internal DOCA tree, not to a bare-metal deployment),
- full-Kubernetes-cluster operators managing a fleet of
BlueFields (the bundle covers
doca-container-deploymentfor 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;
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);
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); for any
hardware-state-changing operation including mlxconfig writes
and BFB reflashes (route to
doca-hardware-safety for the
cross-cutting meta-policy); or for cross-library programming
questions (use
doca-programming-guide).
What this skill provides
This is a thin loader. Substantive material lives in two companion files:
CAPABILITIES.md— 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, 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: 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).TASKS.md— 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, 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 — and it does not cover
building the binary — that path goes through
doca-programming-guide.
Loading order
- Read this
SKILL.mdfirst 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 CAPABILITIES.md.
- 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 TASKS.md.
Example questions this skill answers well
What this skill deliberately does not ship
Related skills
Frequently asked questions about DOCA Bare-Metal Deployment
Similar skills
Turborepo
Optimized build system for JavaScript/TypeScript monorepos.
Azure Pipelines Validation
Streamline your Azure DevOps pipeline changes locally.
Azure Developer CLI
Streamline your Azure project workflows with best practices.
Azure Container Registry CLI
Manage Azure Container Registry resources with ease.
Aspire
Build and orchestrate polyglot distributed applications seamlessly.
Vercel CLI
Manage and deploy Vercel projects from the command line.
