ssh-docker-stop

Community

Gracefully stop a Docker container with control and logging.

AuthorNightreaver
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a controlled method to stop Docker containers, ensuring graceful shutdown with the option to follow up with forceful termination if necessary.

Core Features & Use Cases

  • Graceful Shutdown: Initiates a SIGTERM signal to the container for a controlled stop, followed by a SIGKILL if the container does not terminate within the timeout period.
  • Container Identification: Validates the container name or ID to ensure the correct container is targeted.
  • Audit Logging: Returns a detailed ExecResult with the container name and exit code for tracking and logging purposes.
  • Use Case: Use this Skill to safely stop a web server container without interrupting its service, allowing for a controlled shutdown.

Quick Start

Use the ssh_docker_stop skill to stop the container 'nginx' on host 'docker1'.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ssh-docker-stop
Download link: https://github.com/Nightreaver/python-ssh-mcp/archive/main.zip#ssh-docker-stop

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.