Help us improve
Share bugs, ideas, or general feedback.
Provides Docker Buildx 0.31.0 updates: Rego source policies with auto-loading and eval/test, bake --var flag, semvercmp function, env lookup disable. Load before Docker builds.
npx claudepluginhub nevaberry/nevaberry-plugins --plugin docker-knowledge-patchHow this skill is triggered — by the user, by Claude, or both
Slash command
/docker-knowledge-patch:docker-knowledge-patchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Claude Opus 4.6 knows Docker Engine through 24.x and Compose through 2.x. This skill provides features from Buildx 0.31.0 (2026-01-22).
Documents Docker 2025 features like image type mounts for read-only data sharing, versioned debug endpoints, AI Assistant, Enhanced Container Isolation, and Moby 25. Useful for leveraging latest Docker Engine 28 capabilities.
Provides Dockerfile best practices, multi-stage builds for Go/Rust/Node/Python/Java, layer caching, security patterns, and Docker Compose for efficient containers.
Provides Docker containerization patterns, best practices, multi-stage builds, Compose configs, networking, storage, security hardening, CI/CD workflows, and debugging techniques. Auto-activates on Dockerfiles, docker-compose files, or FROM/EXPOSE patterns.
Share bugs, ideas, or general feedback.
Claude Opus 4.6 knows Docker Engine through 24.x and Compose through 2.x. This skill provides features from Buildx 0.31.0 (2026-01-22).
| Topic | Reference | Key features |
|---|---|---|
| Buildx & Bake | references/buildx-bake.md | Rego source policies, --var flag, semvercmp, env lookup disable |
Buildx enforces build policies written in Rego (Open Policy Agent). Policies control what sources/images are allowed during builds.
# Explicit policy file
docker buildx build --policy policy.rego .
# Auto-loads Dockerfile.rego or app.Dockerfile.rego alongside the Dockerfile
docker buildx build -f app.Dockerfile .
# Evaluate and test policies
docker buildx policy eval
docker buildx policy test
In Bake, use the policy key or rely on auto-loading:
# docker-bake.hcl
target "app" {
dockerfile = "Dockerfile"
policy = "policy.rego"
}
--var flag (Buildx 0.31.0)Set HCL variables directly from the command line instead of using environment variables:
docker buildx bake --var FOO=bar --var VERSION=1.2.3
semvercmp function (Buildx 0.31.0)Stdlib function for semantic version comparisons in Bake HCL files.
Option to prevent Bake from reading host environment variables, useful for reproducible builds.
| File | Contents |
|---|---|
| buildx-bake.md | Rego source policy enforcement (auto-loading, explicit --policy, policy eval/test, Bake policy key), --var flag for HCL variables, semvercmp stdlib function, env lookup disable |