docker-skill
بواسطة runeweaverstudios
DevOps & Cloudموجز
Installs and uses Docker reliably with official docs.
الوصف
ما الذي تفعله هذه المهارة
Guides installation and use of Docker across macOS, Linux, and Windows. Covers Docker Desktop and Docker Engine setup, Dockerfile authoring, building and running containers, and docker compose workflows. Fetches from official Docker docs to ensure accuracy on version-specific install steps and CLI syntax.
Fetching from canonical Docker docs at runtime avoids stale training data for install steps and CLI flags that change between releases.
متى تستخدمها
- Installing Docker Desktop on a new Mac
- Writing a Dockerfile for a Node.js app
- Running a containerized database locally
- Debugging a container that won't start
- Setting up multi-service apps with docker compose
مثال على سير العمل
User asks: how do I containerize and run my app locally?
- 1
Fetch the Dockerfile reference from docs.docker.com/reference/dockerfile/
- 2
Write a Dockerfile in the project root based on the app's runtime
- 3
Run
docker build -t my-app .to build the image - 4
Run
docker run -d -p 127.0.0.1:3000:3000 my-appto start the container - 5
Verify with
docker psand open http://localhost:3000
App running in a local container, accessible on port 3000
التثبيت
clawhub install runeweaverstudios/docker-skillشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.