← 返回 Skills 市场
netium

Docker Operations

作者 bzhou · GitHub ↗ · v0.0.2 · MIT-0
cross-platform ✓ 安全检测通过
114
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install docker-operations
功能描述
Provides Docker container and image operations for creating, running, managing, and inspecting containers and images. Use for docker run, docker exec, docker...
使用说明 (SKILL.md)

Docker Operations

This skill provides comprehensive Docker operations using the docker CLI. Ensure Docker is installed and configured on your system:

docker --version

When to Use

  • Creating, running, stopping, and managing containers
  • Building and pulling/pushing Docker images
  • Inspecting containers, images, and Docker objects
  • Copying files between containers and host
  • Managing Docker registries and image tags
  • Viewing logs and real-time container stats
  • Cleaning up unused Docker resources

When NOT to Use

  • Docker Swarm orchestration (use dedicated swarm tooling)
  • Kubernetes container management
  • Building Docker images with complex buildx bake files (see references/buildx.md)
  • Docker Compose multi-container applications (see references/compose.md)

Command Reference

Container Lifecycle

Create, start, stop, pause, and remove containers.

Command Description Reference
docker create Create container without starting references/container-lifecycle.md
docker start Start a container references/container-lifecycle.md
docker run Create and start a container references/container-lifecycle.md
docker stop Stop a running container references/container-lifecycle.md
docker restart Restart a container references/container-lifecycle.md
docker pause Pause container processes references/container-lifecycle.md
docker unpause Resume paused processes references/container-lifecycle.md
docker rm Remove a container references/container-lifecycle.md

Container Interaction

Execute commands, view logs, copy files, and monitor containers.

Command Description Reference
docker exec Execute command in container references/container-interaction.md
docker attach Attach to running container references/container-interaction.md
docker logs View container logs references/container-interaction.md
docker top Show running processes references/container-interaction.md
docker stats Display resource usage references/container-interaction.md
docker cp Copy files between host and container references/container-interaction.md
docker diff Show filesystem changes references/container-interaction.md

Container Listing

List and filter Docker containers.

Command Description Reference
docker ps List running containers references/container-listing.md
docker ps -a List all containers references/container-listing.md

Image Operations

Pull, push, build, tag, save, load, and manage images.

Command Description Reference
docker images List local images references/image-operations.md
docker pull Pull image from registry references/image-operations.md
docker push Push image to registry references/image-operations.md
docker build Build image from Dockerfile references/image-operations.md
docker tag Tag an image references/image-operations.md
docker save Save image to tar references/image-operations.md
docker load Load image from tar references/image-operations.md
docker export Export container filesystem references/image-operations.md
docker import Import tarball to image references/image-operations.md
docker history Show image history references/image-operations.md
docker rmi Remove an image references/image-operations.md

Image Inspection

Inspect Docker objects (containers, images, volumes, networks).

Command Description Reference
docker inspect Return low-level info on containers, images, volumes, networks references/image-inspection.md

Registry Operations

Login, logout, and search Docker registries.

Command Description Reference
docker login Login to registry references/registry.md
docker logout Logout from registry references/registry.md
docker search Search Docker Hub references/registry.md

System Information

Get Docker version, system info, and real-time events.

Command Description Reference
docker version Show Docker version references/system-info.md
docker info Display system info references/system-info.md
docker events Get real-time events references/system-info.md

Cleanup Commands

Remove unused Docker resources.

Command Description Reference
docker container prune Remove stopped containers references/cleanup.md
docker image prune Remove unused images references/cleanup.md
docker volume prune Remove unused volumes references/cleanup.md
docker network prune Remove unused networks references/cleanup.md
docker system prune Full system cleanup references/cleanup.md

Advanced Topics

For complex multi-platform builds and bake files, see references/buildx.md.

For Docker Compose operations and multi-container orchestration, see references/compose.md.

Advanced Image Operations

Extract image contents, analyze layers, and manipulate image filesystems.

Operation Description Reference
Extract image to directory Export image filesystem to local directory references/advanced-image-operations.md
Layer analysis Inspect and extract specific image layers references/advanced-image-operations.md
Image filesystem comparison Compare image contents between versions references/advanced-image-operations.md
安全使用建议
This skill is a documentation/reference pack for the docker CLI and appears coherent with that purpose. Before using it: ensure Docker is installed and you understand the commands — many examples (docker run with -v, --privileged, docker cp, docker export/import, non-interactive docker login) can expose host files or credentials if run carelessly. Do not run untrusted images or use privileged mounts; avoid supplying registry credentials to unknown code. Note the minor doc inconsistency around Compose/buildx (the skill contains compose docs but warns against using it for complex multi-container Compose scenarios). Because the skill's source is unknown, prefer using it read-only as guidance rather than granting an agent free-run to execute Docker commands on sensitive hosts.
功能分析
Type: OpenClaw Skill Name: docker-operations Version: 0.0.2 The skill bundle is a comprehensive documentation set for managing Docker containers and images via the standard CLI. It provides instructions for container lifecycle, image operations, registry management, and system monitoring (SKILL.md, references/*.md). While Docker operations are inherently powerful, the instructions are well-documented, include security warnings (e.g., regarding password-stdin in registry.md), and lack any evidence of malicious intent, data exfiltration, or prompt injection.
能力标签
cryptorequires-oauth-token
能力评估
Purpose & Capability
The name/description match the bundled reference files: this is a comprehensive Docker CLI guide. All included commands and examples are appropriate for Docker operations. (Minor inconsistency: the top-level list includes 'docker compose' and 'buildx', while the 'When NOT to Use' section warns against multi-container Compose and complex buildx bake files; this is a documentation clarity issue, not evidence of misdirection.)
Instruction Scope
The SKILL is instruction-only and contains direct CLI examples that can manipulate the host (docker run with mounts, --privileged, docker cp, docker export/import) and demonstrates non-interactive docker login usage. Those examples are expected for a Docker reference but they are powerful operations that — if run — can access host files or registry credentials.
Install Mechanism
No install spec and no code files; nothing is downloaded or written to disk by the skill itself, which is the lowest-risk install posture.
Credentials
The skill declares no required environment variables or credentials. Examples reference environment variables (e.g., $PASSWORD for docker login) but do not demand them. There are no unrelated secret requests.
Persistence & Privilege
always:false and no install means the skill does not request permanent system presence or elevated platform privileges. Autonomous invocation is allowed (platform default) but not combined with other concerning flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install docker-operations
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /docker-operations 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.2
Major update: Expanded Docker operations coverage and added detailed references. - Added comprehensive references for container, image, registry, and system commands. - Expanded supported commands to include image build/push/pull, Docker Compose, registry authentication, cleanup, and system inspection. - Introduced advanced image operations such as image extraction and layer analysis. - Clearly separated instructions for when to use or not use the skill. - Organized all commands and guidance into modular reference markdowns for easy access.
v0.0.1
The first version of docker operation skill
元数据
Slug docker-operations
版本 0.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Docker Operations 是什么?

Provides Docker container and image operations for creating, running, managing, and inspecting containers and images. Use for docker run, docker exec, docker... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 114 次。

如何安装 Docker Operations?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install docker-operations」即可一键安装,无需额外配置。

Docker Operations 是免费的吗?

是的,Docker Operations 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Docker Operations 支持哪些平台?

Docker Operations 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Docker Operations?

由 bzhou(@netium)开发并维护,当前版本 v0.0.2。

💬 留言讨论