跳到正文
TakoAPI
返回技能列表

dacker

由 runeweaverstudios 提供

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

简介

Installs and uses Docker reliably with official docs.

描述

该技能的功能

Guides installation and use of Docker on macOS, Linux, and Windows by fetching from official Docker documentation. Covers Docker Desktop, Docker Engine, Dockerfiles, CLI commands, and docker compose workflows.

Fetches from canonical Docker docs at runtime instead of relying on potentially outdated training data, so install steps and CLI syntax stay accurate.

何时使用

  • Setting up Docker on a new development machine
  • Writing a Dockerfile for a web application
  • Running multi-service apps with docker compose
  • Debugging container startup and daemon connection issues
  • Building and tagging images for deployment

示例工作流

输入

User asks: How do I containerize my Node.js app and run it locally?

智能体
  1. 1

    Fetch Dockerfile reference from docs.docker.com/reference/dockerfile/

  2. 2

    Write a Dockerfile in the project directory

  3. 3

    Run docker build -t myapp . to create the image

  4. 4

    Run docker run -d -p 127.0.0.1:3000:3000 myapp to start the container

  5. 5

    Verify with docker ps and confirm the app is reachable at localhost:3000

输出

A running container serving the Node.js app on port 3000

安装

clawhub install runeweaverstudios/dacker

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

链接