ascend-docker

Provision Ascend NPU Docker environments with auto-mapped devices and volumes.

31|1|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/Ascend/agent-skills --skill ascend-docker-ascend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ascend-docker
Source: https://github.com/Ascend/agent-skills/tree/main/skills/ascend-docker
Command: npx skills add https://github.com/Ascend/agent-skills --skill ascend-docker-ascend

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docker, and includes scripts (resource) components.

What problem does it solve?

This skill streamlines the setup of Huawei Ascend NPU development environments by provisioning Docker containers with correct device mappings, volumes, and modes to run CANN applications in isolated workspaces.

Core Features & Use Cases

  • Auto-detects and expose Ascend devices inside containers, including privileged, basic, and full modes.
  • Provides deterministic container startup scripts that configure necessary drivers, toolkits, and workspace paths.
  • Use Case: A developer can spin up a ready-to-use NPU development container for local experiments, benchmarking, or CI pipelines with minimal commands.

Quick Start

Run the script with your image and container name to launch a ready-to-use Ascend Docker workspace.

Frequently Asked Questions about ascend-docker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Docker environment for Ascend NPU development?

To set up an Ascend NPU Docker environment, this skill provisions containers by auto-mapping devices and volumes. It ensures isolated workspaces for running CANN applications with deterministic startup and mode selection.

Can I use Docker to run CANN applications in isolated containers for CI pipelines?

Yes, you can run CANN applications in isolated containers for CI pipelines. This skill provides deterministic startup scripts that configure drivers and toolkits, ensuring repeatable NPU container environments for testing.

Does Docker require manual configuration to expose Ascend NPU devices inside containers?

Docker does not require manual configuration to expose Ascend devices when using this skill. It auto-detects and maps Ascend devices inside containers, supporting privileged, basic, and full modes for access.

What is the best way to ensure consistent workspace paths across Ascend NPU Docker containers?

The best way to ensure consistent workspace paths is using deterministic container startup scripts. This skill configures drivers, toolkits, and workspace paths automatically during environment provisioning for repeatable setups.

Do I need Docker installed locally to provision Ascend NPU development environments?

Yes, Docker is a required dependency to provision Ascend NPU development environments. You must have Docker installed locally to utilize the scripts that launch and configure the NPU containers.