jpskill.com
🛠️ 開発・MCP コミュニティ

container-management

Create, manage, and optimize LXC containers in Proxmox. Control container lifecycle, manage resources, and coordinate container deployments across nodes.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o container-management.zip https://jpskill.com/download/18311.zip && unzip -o container-management.zip && rm container-management.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/18311.zip -OutFile "$d\container-management.zip"; Expand-Archive "$d\container-management.zip" -DestinationPath $d -Force; ri "$d\container-management.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して container-management.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → container-management フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

コンテナ管理 Skill

Proxmox 環境で LXC コンテナを作成、管理、最適化します。

この Skill でできること

この Skill を使用すると、次のことが可能になります。

  • 特定のノード上のコンテナを一覧表示する
  • 詳細なコンテナ構成とステータスを取得する
  • コンテナの起動、停止、再起動、削除を行う
  • 基本構成または高度な構成で新しい LXC コンテナを作成する
  • 既存のコンテナをクローンする
  • コンテナのリソース割り当てを変更する
  • コンテナのパフォーマンスメトリクスを監視する
  • コンテナテンプレートを管理する
  • コンテナのデプロイ戦略を計画する
  • コンテナのリソース割り当てを最適化する

この Skill を使用するタイミング

この Skill は、次のことを行う必要がある場合に使用します。

  • コンテナのステータスと構成を確認する
  • コンテナのライフサイクル (起動/停止/再起動) を管理する
  • コンテナのパフォーマンスとリソース使用量を監視する
  • コンテナのリソース (CPU、メモリ、ストレージ) を調整する
  • 新しいコンテナを作成する
  • コンテナの問題をトラブルシューティングする
  • コンテナの移行を計画する
  • コンテナの配置を最適化する
  • コンテナテンプレートを管理する

利用可能なツール

  • get_containers - 特定のノード上のすべてのコンテナを一覧表示します
  • get_container_status - 詳細なコンテナのステータスと構成を取得します
  • get_container_config - コンテナの完全な構成の詳細を取得します
  • start_container - コンテナを起動します
  • stop_container - コンテナをすぐに停止します
  • shutdown_container - コンテナを正常にシャットダウンします
  • reboot_container - コンテナを再起動します
  • create_container - 基本構成で新しい LXC コンテナを作成します
  • create_container_advanced - 高度な構成オプションを使用してコンテナを作成します
  • clone_container - 既存のコンテナをクローンします
  • delete_container - コンテナを削除します

典型的なワークフロー

コンテナライフサイクル管理

  1. get_containers を使用して、利用可能なコンテナを一覧表示します
  2. get_container_status または get_container_config を使用して、状態を確認します
  3. 起動/停止/再起動を使用して、コンテナの操作を管理します
  4. 変更中のコンテナのヘルス状態を監視します

コンテナの作成とデプロイ

  1. create_container または create_container_advanced を使用して、新しいコンテナをプロビジョニングします
  2. get_container_status を使用して、構成を確認します
  3. clone_container を使用して、テストまたはデプロイ用のコピーを作成します
  4. get_container_config を使用して、詳細な設定を確認します
  5. 参照用にコンテナの詳細を文書化します

コンテナライフサイクル操作

  1. 正常なシャットダウンには shutdown_container を使用します
  2. コンテナを再起動するには reboot_container を使用します
  3. 必要に応じて、即時終了には stop_container を使用します
  4. 移行中のコンテナのステータスを監視します

コンテナのトラブルシューティング

  1. get_container_status を使用して、問題を診断します
  2. 問題から回復するには、再起動/再始動を使用します
  3. 問題のある変更をロールバックするには、スナップショットを使用します
  4. 根本原因のログとメトリクスを分析します

質問例

  • 「worker ノード上のすべてのコンテナを一覧表示してください」
  • 「コンテナ 101 のステータスとリソース使用量はどうなっていますか?」
  • 「コンテナ 105 の完全な構成を取得してください」
  • 「データベースコンテナを起動してください」
  • 「2 コアと 4GB の RAM を持つ新しいコンテナを作成してください」
  • 「コンテナ 102 をクローンして、テスト環境を作成してください」
  • 「コンテナ 103 を正常にシャットダウンしてください」
  • 「コンテナ 199 を削除し、すべてのデータを削除してください」
  • 「すべてのコンテナとそのリソース割り当てを表示してください」

レスポンス形式

この Skill を使用する場合、私は以下を提供します。

  • ステータスとリソースを含むコンテナリスト
  • 詳細なコンテナ構成とメトリクス
  • コンテナ操作のステータス確認
  • リソース使用率分析
  • 最適化の推奨事項

ベストプラクティス

  • コンテナのパフォーマンスを定期的に監視する
  • クローン作成を使用して、コンテナを迅速にデプロイする
  • 適切なリソース割り当てでコンテナを作成する
  • 中断を最小限に抑えるために、正常なシャットダウンを使用する
  • リソース割り当てを慎重に計画する
  • ノード間でコンテナのバランスを取る
  • 重要なコンテナの監視を実装する
  • 一貫性を保つために、コンテナテンプレートを使用する
  • コンテナの構成と目的を文書化する
  • 最初に開発環境で変更をテストする
  • ディスク使用量とリソース制限を監視する
  • 定期的に未使用のコンテナをクリーンアップする
  • 簡単に識別できるように、意味のあるホスト名を使用する
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Container Management Skill

Create, manage, and optimize LXC containers in your Proxmox environment.

What this skill does

This skill enables you to:

  • List containers on specific nodes
  • Get detailed container configuration and status
  • Start, stop, reboot, and delete containers
  • Create new LXC containers with basic or advanced configuration
  • Clone existing containers
  • Modify container resource allocation
  • Monitor container performance metrics
  • Manage container templates
  • Plan container deployment strategies
  • Optimize resource allocation for containers

When to use this skill

Use this skill when you need to:

  • Check container status and configuration
  • Manage container lifecycle (start/stop/reboot)
  • Monitor container performance and resource usage
  • Adjust container resources (CPU, memory, storage)
  • Create new containers
  • Troubleshoot container issues
  • Plan container migrations
  • Optimize container placement
  • Manage container templates

Available Tools

  • get_containers - List all containers on a specific node
  • get_container_status - Get detailed container status and configuration
  • get_container_config - Get full container configuration details
  • start_container - Start a container
  • stop_container - Stop a container immediately
  • shutdown_container - Gracefully shutdown a container
  • reboot_container - Reboot a container
  • create_container - Create a new LXC container with basic configuration
  • create_container_advanced - Create a container with advanced configuration options
  • clone_container - Clone an existing container
  • delete_container - Delete a container

Typical Workflows

Container Lifecycle Management

  1. Use get_containers to list available containers
  2. Use get_container_status or get_container_config to check state
  3. Use start/stop/reboot to manage container operations
  4. Monitor container health during changes

Container Creation & Deployment

  1. Use create_container or create_container_advanced to provision new container
  2. Use get_container_status to verify configuration
  3. Use clone_container to create copies for testing or deployment
  4. Use get_container_config to review detailed settings
  5. Document container details for reference

Container Lifecycle Operations

  1. Use shutdown_container for graceful shutdown
  2. Use reboot_container to restart container
  3. Use stop_container for immediate termination if needed
  4. Monitor container status during transitions

Container Troubleshooting

  1. Use get_container_status to diagnose issues
  2. Use reboot/restart to recover from problems
  3. Use snapshots to rollback problematic changes
  4. Analyze logs and metrics for root cause

Example Questions

  • "List all containers on the worker node"
  • "What's the status and resource usage of container 101?"
  • "Get the full configuration of container 105"
  • "Start the database container"
  • "Create a new container with 2 cores and 4GB RAM"
  • "Clone container 102 to create a test environment"
  • "Gracefully shutdown container 103"
  • "Delete container 199 and remove all data"
  • "Show me all containers and their resource allocation"

Response Format

When using this skill, I provide:

  • Container listings with status and resources
  • Detailed container configuration and metrics
  • Status confirmations for container operations
  • Resource utilization analysis
  • Optimization recommendations

Best Practices

  • Monitor container performance regularly
  • Use cloning for quick container deployment
  • Create containers with appropriate resource allocation
  • Use graceful shutdown to minimize disruption
  • Plan resource allocation carefully
  • Balance containers across nodes
  • Implement monitoring for critical containers
  • Use container templates for consistency
  • Document container configuration and purpose
  • Test changes in development first
  • Monitor disk usage and resource limits
  • Clean up unused containers regularly
  • Use meaningful hostnames for easy identification