← 返回
未分类 中文

Docker Operations

Provides Docker container and image operations for creating, running, managing, and inspecting containers and images. Use for docker run, docker exec, docker...
提供 Docker 容器和镜像的创建、运行、管理及检查操作,适用于 docker run、docker exec 等命令。
netium netium 来源
未分类 clawhub v0.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 392
下载
💾 0
安装
1
版本
#latest

概述

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.

CommandDescriptionReference
---------------------------------
docker createCreate container without startingreferences/container-lifecycle.md
docker startStart a containerreferences/container-lifecycle.md
docker runCreate and start a containerreferences/container-lifecycle.md
docker stopStop a running containerreferences/container-lifecycle.md
docker restartRestart a containerreferences/container-lifecycle.md
docker pausePause container processesreferences/container-lifecycle.md
docker unpauseResume paused processesreferences/container-lifecycle.md
docker rmRemove a containerreferences/container-lifecycle.md

Container Interaction

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

CommandDescriptionReference
---------------------------------
docker execExecute command in containerreferences/container-interaction.md
docker attachAttach to running containerreferences/container-interaction.md
docker logsView container logsreferences/container-interaction.md
docker topShow running processesreferences/container-interaction.md
docker statsDisplay resource usagereferences/container-interaction.md
docker cpCopy files between host and containerreferences/container-interaction.md
docker diffShow filesystem changesreferences/container-interaction.md

Container Listing

List and filter Docker containers.

CommandDescriptionReference
---------------------------------
docker psList running containersreferences/container-listing.md
docker ps -aList all containersreferences/container-listing.md

Image Operations

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

CommandDescriptionReference
---------------------------------
docker imagesList local imagesreferences/image-operations.md
docker pullPull image from registryreferences/image-operations.md
docker pushPush image to registryreferences/image-operations.md
docker buildBuild image from Dockerfilereferences/image-operations.md
docker tagTag an imagereferences/image-operations.md
docker saveSave image to tarreferences/image-operations.md
docker loadLoad image from tarreferences/image-operations.md
docker exportExport container filesystemreferences/image-operations.md
docker importImport tarball to imagereferences/image-operations.md
docker historyShow image historyreferences/image-operations.md
docker rmiRemove an imagereferences/image-operations.md

Image Inspection

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

CommandDescriptionReference
---------------------------------
docker inspectReturn low-level info on containers, images, volumes, networksreferences/image-inspection.md

Registry Operations

Login, logout, and search Docker registries.

CommandDescriptionReference
---------------------------------
docker loginLogin to registryreferences/registry.md
docker logoutLogout from registryreferences/registry.md
docker searchSearch Docker Hubreferences/registry.md

System Information

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

CommandDescriptionReference
---------------------------------
docker versionShow Docker versionreferences/system-info.md
docker infoDisplay system inforeferences/system-info.md
docker eventsGet real-time eventsreferences/system-info.md

Cleanup Commands

Remove unused Docker resources.

CommandDescriptionReference
---------------------------------
docker container pruneRemove stopped containersreferences/cleanup.md
docker image pruneRemove unused imagesreferences/cleanup.md
docker volume pruneRemove unused volumesreferences/cleanup.md
docker network pruneRemove unused networksreferences/cleanup.md
docker system pruneFull system cleanupreferences/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.

OperationDescriptionReference
-----------------------------------
Extract image to directoryExport image filesystem to local directoryreferences/advanced-image-operations.md
Layer analysisInspect and extract specific image layersreferences/advanced-image-operations.md
Image filesystem comparisonCompare image contents between versionsreferences/advanced-image-operations.md

版本历史

共 1 个版本

  • v0.0.2 当前
    2026-05-07 06:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,007
it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 471 📥 78,483
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,707