debug

Execute commands inside a remote Docker container via a file-based relay.

2.8k|332|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/NVIDIA/skills --skill debug-nvidia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug
Source: https://github.com/NVIDIA/skills/tree/main/skills/Model-Optimizer/debug
Command: npx skills add https://github.com/NVIDIA/skills --skill debug-nvidia

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remote debugging and command execution inside a Docker container from the host via a file-based relay, enabling seamless interaction with a shared repository.

Core Features & Use Cases

  • Execute commands inside Docker containers from the host using a file-based relay.
  • Support for common workflows such as checking status, handshake, running commands, and re-connecting after server restarts.
  • Ideal for debugging, GPU-enabled tasks, and running tests inside containers that share repository files.

Quick Start

Start the Docker server inside the container with server.sh, then issue client.sh commands from the host to execute tasks.

Frequently Asked Questions about debug

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

FAQPage Schema
How do I execute commands inside a remote Docker container from my host machine?

You can execute commands inside a remote Docker container by using a file-based relay that requires running server.sh inside the container and client.sh on the host to communicate and run tasks.

What is a file-based relay for Docker containers and when do I need it?

A file-based relay for Docker containers is a mechanism enabling host-to-container command execution without direct network ports. You need it for debugging, GPU-enabled tasks, and running tests inside containers sharing repository files.

Does this command relay approach work for debugging and running tests in GPU-enabled containers?

Yes, the command relay approach works for debugging and running tests in GPU-enabled containers. It supports common development workflows where the host needs to interact seamlessly with a container that shares repository files.

How do I set up the host and container scripts to start running commands remotely?

To set up remote command execution, start the server.sh script inside the Docker container, then issue commands from the host using the client.sh tooling to communicate with the running server and execute tasks.

Can I reconnect to a Docker container after the server restarts using this file-based relay?

Yes, you can reconnect to a Docker container after server restarts. The file-based relay tooling supports re-connecting to the server, performing handshakes, and checking status to ensure continuous development workflows.

What are the limitations of using a file-based relay for remote Docker command execution?

The primary limitation of this file-based relay is the strict dependency on running server.sh inside the target container and client.sh on the host, requiring both to be active to successfully execute commands and maintain communication.