Compiled Chainguard documentation optimized for use with AI coding assistants
6 min read
Page copied!
AI-ready documentation bundle
This page describes a compiled bundle of Chainguard documentation that you can feed to AI coding assistants such as Claude, ChatGPT, or GitHub Copilot. Use it through the Chainguard-built container image or run the bundle as a Python MCP server.
What’s included
Complete Chainguard Containers documentation
Security best practices and CVE management
Migration guides and tutorials
API references and code examples
Wolfi, melange, and apko documentation
Compliance and supply chain security guides
Download the AI documentation bundle
MCP server support
Run the container as an MCP (Model Context Protocol) server for searchable, on-demand access to Chainguard documentation in AI assistants and IDEs.
Container distribution is recommended. The Chainguard container image includes verification scripts, runs as a non-root user, and is built on wolfi-base. Use it unless you have a reason to download files directly.
Container distribution
Pull the container, then run it to print usage, verify the bundle, or extract the documentation:
# Pull the container image (built on Chainguard wolfi-base)
docker pull ghcr.io/chainguard-dev/ai-docs:latest
# Print available commands
docker run --rm ghcr.io/chainguard-dev/ai-docs:latest
# Verify documentation integrity
docker run --rm ghcr.io/chainguard-dev/ai-docs:latest verify
# Extract documentation into a chainguard-ai-docs/ subdirectory
docker run --rm --user "$(id -u):$(id -g)" \
-v $(pwd):/output ghcr.io/chainguard-dev/ai-docs:latest extract /output
The container runs as a non-root user, so pass --user to let it write to the mounted directory and to leave the extracted files owned by you.
# Extract current documentation from the container image
docker run --rm --user "$(id -u):$(id -g)" \
-v $(pwd):/output ghcr.io/chainguard-dev/ai-docs:latest extract /output
# chainguard-ai-docs/chainguard-ai-docs.md is ready to use with your AI assistant
Security features
Bundle security
Container image signed with Sigstore/Cosign
Distributed through GitHub Container Registry
Rebuilt through GitHub Actions whenever the documentation changes
Download and verify the documentation bundle using one of the methods above.
Open your AI assistant (Claude, ChatGPT, and others).
Upload or paste the markdown file into the conversation.
Start coding with Chainguard context available to the assistant.
Example prompts for common tasks
Once the documentation is loaded, try these prompts with your AI assistant:
Container security and CVEs
“Search for Chainguard container security best practices and CVE management”
“How do I migrate from Docker Hub images to Chainguard images?”
“Show me examples of using Chainguard images in production”
“What’s the difference between Chainguard’s latest and latest-dev tags?”
“How do I scan Chainguard images for vulnerabilities?”
“Explain Chainguard’s approach to zero CVE images”
Development workflows
“Find information about debugging distroless containers”
“How do I use Chainguard images with Kubernetes?”
“What are the differences between Chainguard development and production images?”
“Show me how to use multi-stage builds with Chainguard images”
“How do I add custom packages to a Chainguard image?”
“Create a Dockerfile using Chainguard’s Python image for a Flask app”
Specific technologies
“Show me Chainguard’s Python/Node.js/Go image documentation”
“Find FIPS-compliant container information”
“How do I use Chainguard images for AI/ML workloads?”
“What Java versions are available in Chainguard images?”
“How to use Chainguard’s PostgreSQL image with custom extensions”
“Show examples of using Chainguard’s NGINX image with custom configs”
Security and compliance
“Search for SBOM and supply chain security information”
“Find information about Chainguard’s compliance certifications”
“How does Chainguard help with CVE remediation?”
“Explain how to verify Chainguard image signatures with cosign”
“What are Chainguard’s SLSA compliance levels?”
“How to generate and analyze SBOMs for Chainguard images”
CI/CD integration
“How do I use Chainguard images in GitHub Actions?”
“Show me examples of using Chainguard images with GitLab CI”
“How to set up automated vulnerability scanning for Chainguard images”
“Best practices for caching Chainguard images in CI pipelines”
“How to use chainctl in CI/CD workflows”
Troubleshooting
“How do I troubleshoot ‘command not found’ errors in distroless images?”
“Why is my application failing to start in a Chainguard image?”
“How to debug permission issues in Chainguard containers”
“Common migration issues when moving from Alpine to Wolfi-based images”
“How to identify missing dependencies in distroless containers”
Architecture and best practices
“Explain the architecture of Wolfi and how it differs from Alpine”
“What is apko and how does it relate to Chainguard images?”
“Best practices for minimizing image size with Chainguard”
“How to implement a secure software supply chain with Chainguard”
“Explain melange and its role in package building”
Benefits for AI-assisted development
Complete context. The assistant can see all Chainguard documentation at once.
Better code suggestions. The assistant grounds its output in actual Chainguard patterns.
Faster development. No need to search through multiple documentation pages.
Accurate answers. Responses come from official Chainguard documentation rather than the model’s training data.
Updates
The container image rebuilds whenever the documentation changes, and the downloadable bundle refreshes nightly. Each one carries its compilation date at the top of the file.
Need help?
If you have questions or need assistance:
Read Get support to find the right channel and open a ticket