跳到正文
TakoAPI
返回技能列表

arcane-docker-manager

由 cougz 提供

DevOps & Cloud
1.8k下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

This skill enables you to interact with your Arcane.

描述

该技能的功能

Connects to the Arcane Docker Management API to control containers, Compose stacks, images, networks, volumes, and users. Arcane is a self-hosted Docker management platform exposing a REST API on a configurable base URL.

Arcane's REST API lets agents perform any Docker operation programmatically without requiring Docker CLI access or SSH on the host.

何时使用

  • Restarting a crashed container without opening a terminal
  • Deploying a new Compose stack from a saved template
  • Pulling updated images and restarting affected stacks
  • Pruning unused images and volumes to free disk space
  • Checking CPU and memory stats across all running containers

示例工作流

输入

User asks: deploy my nginx template with version 1.25 on port 8080

智能体
  1. 1

    Authenticate against the Arcane API to obtain a Bearer token

  2. 2

    List available templates to locate the nginx template ID

  3. 3

    POST to /stacks with the template ID and env vars VERSION=1.25, PORT=8080

  4. 4

    Poll GET /stacks/{id}/logs to confirm the stack started cleanly

  5. 5

    Return the stack ID and deployment status to the user

输出

Stack 'nginx-stack' deployed successfully, running on port 8080

前置要求

  • Arcane instance URL (default http://localhost:3552/api)
  • Arcane admin username and password, or a pre-generated API key

安装

clawhub install cougz/arcane-docker-manager

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接