Skip to content
Skill

docker-buildx

by tylertitsworth

AI Summary

Docker Buildx enables multi-platform container image builds with advanced caching and CI integration for developers working with containerized applications. DevOps engineers and backend developers benefit most from optimized build pipelines across architectures.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "docker-buildx" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory (4 files)
mkdir -p .claude/skills/docker-buildx && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/docker-buildx/SKILL.md "https://raw.githubusercontent.com/tylertitsworth/skills/main/docker-buildx/SKILL.md" && mkdir -p .claude/skills/docker-buildx/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/docker-buildx/references/build-policies.md "https://raw.githubusercontent.com/tylertitsworth/skills/main/docker-buildx/references/build-policies.md" && mkdir -p .claude/skills/docker-buildx/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/docker-buildx/references/supply-chain-security.md "https://raw.githubusercontent.com/tylertitsworth/skills/main/docker-buildx/references/supply-chain-security.md" && mkdir -p .claude/skills/docker-buildx/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/docker-buildx/references/troubleshooting.md "https://raw.githubusercontent.com/tylertitsworth/skills/main/docker-buildx/references/troubleshooting.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Docker Buildx — multi-platform builds, BuildKit mounts, Bake, cache backends, CI integration. Use when building container images. NOT for GPU runtime or Compose.

Mount requirements separately — avoids COPY cache invalidation on code changes

RUN --mount=type=bind,source=requirements.txt,target=/tmp/req.txt \ --mount=type=cache,target=/root/.cache/pip \ pip install -r /tmp/req.txt `

Docker Buildx

Buildx is Docker's extended build system powered by BuildKit. It replaces docker build with multi-platform support, advanced caching, and distributed build capabilities.

Builders

Builders are BuildKit instances that execute builds. Choose based on needed features: | Driver | Isolation | Multi-platform | Cache Export | Use Case | |--------|-----------|----------------|--------------|----------| | docker | None (default) | ❌ | ❌ | Basic local builds | | docker-container | Container | ✅ | ✅ | Local dev with advanced features | | kubernetes | Pod | ✅ | ✅ | CI/CD on K8s clusters | | remote | External | ✅ | ✅ | Shared team builders | `bash

Create a docker-container builder (most common for local dev)

docker buildx create --name mybuilder --driver docker-container --use

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
2 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars2
Forks1
Issues0
Updated1mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code