docker-manager

Docker container lifecycle management. Use when: user asks to list containers, start/stop containers, view logs, check stats, prune unused containers or images. Requires Docker CLI installed.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "docker-manager" with this command: npx skills add ppopen/openclaw-skill-docker-manager

Docker Manager Skill

Manage Docker containers, images, and system resources.

Triggers

  • "docker containers", "list containers"
  • "start container", "stop container"
  • "docker logs", "container logs"
  • "docker stats", "container stats"
  • "docker prune", "cleanup containers"
  • "docker images", "list images"

Commands

List Running Containers

docker ps

List All Containers (including stopped)

docker ps -a

Start a Container

docker start <container_id_or_name>

Stop a Container

docker stop <container_id_or_name>

Restart a Container

docker restart <container_id_or_name>

View Container Logs

# Tail last 100 lines
docker logs --tail 100 <container_id_or_name>

# Follow logs in real-time
docker logs -f <container_id_or_name>

Container Stats (CPU, Memory, Network)

# Stream stats for all running containers
docker stats

# Stats for specific container
docker stats <container_id_or_name>

# Non-streaming (one-time)
docker stats --no-stream <container_id_or_name>

List Docker Images

docker images

Prune Unused Containers

# Remove all stopped containers
docker container prune -f

Prune Unused Images

# Remove dangling images
docker image prune -f

# Remove all unused images
docker image prune -a -f

Docker System DF (Disk Usage)

docker system df

Bundled Scripts

docker-stats.sh

Script for formatted container stats output.

#!/bin/bash
# Docker container stats with formatted output

echo "Container Stats"
echo "==============="
docker stats --no-stream --format "table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}\t{{.NetIO}}\t{{.BlockIO}}"

Usage Examples

IntentCommand
List running containersdocker ps
List all containersdocker ps -a
Start nginx containerdocker start nginx
Stop nginx containerdocker stop nginx
View webapp logsdocker logs --tail 50 webapp
Monitor statsdocker stats
List imagesdocker images
Cleanup unused containersdocker container prune -f
Cleanup unused imagesdocker image prune -a -f
Check disk usagedocker system df

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

AIWolfPK - AI狼人杀

四个AI互相猜疑,你坐着看戏。每局30秒,到底谁是狼? Four AIs play Werewolf while you watch. 30s per round. Spot the wolf before they do.

Registry SourceRecently Updated
General

Project Analyzer

Analyze any project directory and produce a detailed report covering what the project does, its tech stack, folder structure, entry points, how to run it, an...

Registry SourceRecently Updated
General

Thought-Retriever

提炼对话回答中的核心洞察为高置信度知识晶体,存储于本体驱动记忆系统的自我进化与复用。

Registry SourceRecently Updated
General

Miaoji Bid Guard Pro

亚马逊广告护城河Pro版,90天ROI预测+多活动协同+季节性出价+关键词攻防矩阵。 从单次调价建议升级为完整的广告战役规划。基础功能可使用 miaoji-bid-guard 免费版。

Registry SourceRecently Updated