Lang Docker
Build and validate Docker and Compose files.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/software-development/lang-docker |
| Version | 1.0.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | linux, macos, windows |
Reference: full SKILL.md
The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
Docker / Compose Language Pack Skill
Drive Docker / Compose work with the project index and standard CLI recipes.
LSP hint: dockerfile-ls (editor-side when applicable). Zero new core tools.
What this language is (beginner)
Не язык приложения, а способ упаковать приложение в контейнер. Нужен почти любому интернет-проекту для одинакового запуска у всех и на сервере.
Лучше всего для:
- упаковка веб/API в контейнер
- локальный стек через Compose
- CI image build
- простые multi-service стенды
When to Use
Выбирай этот pack, если:
- нужно контейнеризировать сайт/API
- есть Dockerfile / compose.yaml
- локальный стенд из нескольких сервисов (app+db)
Manifests (автодетект репозитория): Dockerfile, dockerfile, compose.yaml, compose.yml, docker-compose.yml, docker-compose.yaml
Обычно рядом: Любой язык приложения; часто Postgres/Redis в Compose; Terraform для облака.
См. также skill choose-language-pack и vibeos language recommend "…".
When NOT to use
- только код без деплоя → язык приложения
- полная облачная инфра → Terraform рядом
- воспроизводимый toolchain без контейнеров → Nix
Prerequisites
vibeos pack apply lang-docker --apply
vibeos pack apply project-intelligence --apply
How to Run
vibeos project index build
docker compose config
hadolint Dockerfile || true
docker compose build
Quick Reference
| Goal | Command |
|---|---|
| Apply pack | vibeos pack apply lang-docker --apply |
| Doctor | vibeos language doctor docker |
| Primary test | docker compose config |
| Choose guide | skill choose-language-pack |
| Recommend | vibeos language recommend "…" |
Procedure
- Для нового продукта сначала
choose-language-pack/vibeos language recommend. - Work from the project root that matches pack manifests.
- Validate (lint/config/syntax) before any apply/up/push that touches real infra.
- Prefer project-local tooling already present in the repo.
- Explain risky ops (apply, up, push) and wait for explicit user ask.
Pitfalls
- Never bake secrets into images.
- Prefer compose config/build before compose up on shared hosts.
- Do not push images without explicit user ask.
- Do not invent core tools; stay on
terminal+read_file+ index CLI.
Verification
vibeos language doctor docker
vibeos project index status