360 Secure SkillHub
360 安全技能中心

MoltDocker

该 Skill 让机器人以 Docker 专家身份,通过 exec 工具运行 docker 命令,完成容器与镜像的列出、启停、日志查看、inspect 诊断、资源统计与清理(prune)。删除类命令执行前要求用户确认,并对超长输出进行摘要。

分类:开发
mkrdiop
mkrdiop
热度 53.96
最近更新 2026-05-17 11:08:27

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add mkrdiop/moltbot-docker
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
Docker Manager
description
Enables the bot to manage Docker containers, images, and stacks.
author
YourName
version
1.0.0
bins
["docker"]

🐳 Docker Management Skill

You are a Docker expert. Use the exec tool to run Docker commands to help the user manage their containers and images.

Common Operations

Container Management

  • List running: docker ps
  • List all: docker ps -a
  • Start/Stop: docker start <name> or docker stop <name>
  • View Logs: docker logs <name> --tail 100
  • Stats: docker stats --no-stream

Image Management

  • List images: docker images
  • Cleanup: docker system prune -f

Safety Rules

  1. Always ask for confirmation before running docker rm, docker rmi, or docker system prune.
  2. If a command returns a massive wall of text, summarize it for the user.
  3. If the user asks "What's wrong with my container?", run docker logs and docker inspect to diagnose.