ssh_docker_compose_stop

Executes docker-compose stop on a remote host via SSH.

6|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-docker-compose-stop
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ssh_docker_compose_stop
Source: https://github.com/Nightreaver/python-ssh-mcp/tree/main/skills/ssh-docker-compose-stop
Command: npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-docker-compose-stop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a simple and secure way to stop services in a Docker Compose project via SSH, ensuring that containers remain operational while allowing for maintenance or updates.

Core Features & Use Cases

  • SSH Access: Execute commands on remote hosts with SSH.
  • Docker Compose: Stop services defined in a Docker Compose file.
  • Graceful Stop: Ensure containers are stopped gracefully to maintain state.
  • Use Case: If you need to take a Docker Compose project offline for maintenance, this Skill can stop the services without losing any data.

Quick Start

Stop all services in the 'docker-compose.yml' file on the host 'docker1'.

Frequently Asked Questions about ssh_docker_compose_stop

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

FAQPage Schema
How do I gracefully stop Docker Compose services on a remote host?▼

This approach ensures containers remain operational in a stopped state, preserving their data and configuration for maintenance or updates.

Why does stopping Docker containers via SSH help with maintenance?▼

This allows you to take a Docker Compose project offline for updates while keeping the containers available for a quick restart.

Do I need SSH access to stop a Docker Compose project?▼

SSH provides the secure remote execution channel required to run Docker Compose commands on the target server.

What is the difference between stopping and removing Docker Compose containers?▼

Using SSH to stop containers ensures they remain operational and ready for immediate restart during maintenance.

Can I use a specific Docker Compose file when stopping services over SSH?▼

This allows you to selectively stop specific service groups rather than all Docker containers on the remote machine.