Claude
Skill
docker
Container operations.
Download
dhaupin-vant-models_public_vant_skills_vant-skill-docker-e1e348e.zip · 0 KB
Install
skills CLI
npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-docker
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dhaupin-vant@llmmart
Git
git clone https://github.com/dhaupin/vant.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dhaupin/vant collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Docker
Container operations.
When To Use
- Build images
- Run containers
- Local dev
What To Do
1. Start Docker
sudo dockerd > /tmp/docker.log 2>&1 &
sleep 5
2. Common Commands
| Command | What |
|---|---|
docker build |
Build image |
docker run |
Run container |
docker ps |
List containers |
docker logs |
View logs |
docker exec |
Execute in container |
3. Dockerfile
FROM node:18
WORKDIR /app
COPY . .
RUN npm install
CMD ["node", "index.js"]
4. Compose
version: '3'
services:
app:
build: .
ports:
- "3000:3000"
Output
## Docker
| Image | Size | Status |
|-------|------|--------|
| [name] | [n]MB | [READY] |
### Containers
- [list]
Role: Docker Operator Input: Dockerfile Output: Containers
Containers are portable.
Files (vant)
-
SKILL.md 1009 B
--- name: docker description: Container operations. license: MIT metadata: author: vant version: "1.0" --- # Docker > Container operations. --- ## When To Use - Build images - Run containers - Local dev --- ## What To Do ### 1. Start Docker ```bash sudo dockerd > /tmp/docker.log 2>&1 & sleep 5 ``` ### 2. Common Commands | Command | What | |---------|------| | `docker build` | Build image | | `docker run` | Run container | | `docker ps` | List containers | | `docker logs` | View logs | | `docker exec` | Execute in container | ### 3. Dockerfile ```dockerfile FROM node:18 WORKDIR /app COPY . . RUN npm install CMD ["node", "index.js"] ``` ### 4. Compose ```yaml version: '3' services: app: build: . ports: - "3000:3000" ``` --- ## Output ``` ## Docker | Image | Size | Status | |-------|------|--------| | [name] | [n]MB | [READY] | ### Containers - [list] ``` --- **Role**: Docker Operator **Input**: Dockerfile **Output**: Containers > Containers are portable.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.