ascend-docker

Automate Docker container creation for Huawei Ascend NPU development with device mappings.

156|53|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/ascend-ai-coding/awesome-ascend-skills --skill ascend-docker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ascend-docker
Source: https://github.com/ascend-ai-coding/awesome-ascend-skills/tree/main/ascend-docker
Command: npx skills add https://github.com/ascend-ai-coding/awesome-ascend-skills --skill ascend-docker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Huawei Ascend NPU development often requires complex Docker configurations with precise device mappings and host-driver visibility. This Skill simplifies container creation to ensure consistent environments and reduces setup time.

Core Features & Use Cases

  • Auto-detects available NPU devices and configures container access
  • Supports Privileged, Basic, and Full modes for various workloads
  • Standardizes environment setup for CANN applications and development workspaces

Quick Start

Launch the provided script to start a docker container configured for Ascend NPU development with automatic device mapping.

Frequently Asked Questions about ascend-docker

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

FAQPage Schema
How do I configure Docker containers for Huawei Ascend NPU development?

To configure Docker containers for Huawei Ascend NPU development, you need precise device mappings and host-driver visibility. This Skill automates container creation to map /dev/davinci* devices and Ascend driver paths, ensuring consistent isolated workspaces.

What is the best way to map Ascend NPU devices into a Docker workspace?

The best way to map Ascend NPU devices is through automatic device detection that configures container access. This approach standardizes environment setup for CANN applications by correctly mounting /dev/davinci* devices and required Ascend driver paths.

Does Docker container setup for Ascend NPUs support privileged and basic modes?

Yes, Docker container setup for Ascend NPUs supports Privileged, Basic, and Full modes. These modes accommodate various workloads, allowing you to choose the appropriate level of host device access for your specific CANN development requirements.

Why does my Ascend NPU Docker container fail to access host devices?

Ascend NPU Docker containers fail to access host devices when correct device mappings and volume mounts are missing. You must ensure Docker has access to host devices and properly maps /dev/davinci* and Ascend driver paths.

Do I need to manually detect available NPU devices before launching a Docker container?

No, you do not need to manually detect available NPU devices. This configuration process automatically detects available NPU devices and configures container access, simplifying the setup for CANN applications and development workspaces.

Can I use Ascend Docker for isolated CANN application development?

Yes, you can use Ascend Docker for isolated CANN application development. It standardizes environment setup by providing isolated workspaces with automatic device detection and correct mappings for Ascend driver paths and /dev/davinci* devices.