| title | Developer Resources |
|---|---|
| lead | AI-ready documentation bundle for development |
| description | Compiled Chainguard documentation optimized for use with AI coding assistants |
| type | article |
| date | 2025-07-29 10:00:00 +0000 |
| lastmod | 2026-03-30 00:00:00 +0000 |
| draft | false |
| images | |
| weight | 50 |
| toc | false |
This page provides compiled Chainguard documentation optimized for use with AI coding assistants like Claude, ChatGPT, GitHub Copilot, and others. Access it through our secure container image or as a standalone Python MCP server.
A comprehensive collection of Chainguard documentation including:
- 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
Run the container as an MCP (Model Context Protocol) server for searchable, on-demand access to Chainguard documentation in AI assistants and IDEs.
Choose your preferred distribution method:
For enhanced security and verification, we recommend using the Chainguard container image. It includes built-in verification, runs as non-root, and is built on our secure
wolfi-base image.
Pull the secure, Chainguard-based container with embedded documentation:
# Pull the container image (built on Chainguard wolfi-base)
docker pull ghcr.io/chainguard-dev/ai-docs:latest
# View available commands and usage
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 to current directory
docker run --rm -v $(pwd):/output ghcr.io/chainguard-dev/ai-docs:latest extract /outputContainer Features:
- Built on Chainguard's minimal
wolfi-baseimage - Runs as non-root user for enhanced security
- Includes verification scripts and checksums
- Cryptographically signed with Cosign
- Automatically updated weekly
Verify Container Signature:
# Verify the container image signature with Cosign
cosign verify ghcr.io/chainguard-dev/ai-docs:latest \
--certificate-identity-regexp ".*github.com/chainguard-dev/edu.*" \
--certificate-oidc-issuer https://token.actions.githubusercontent.comRecommended for: Developers, agent workflows, IDE integration
Run the container as an MCP server to provide AI assistants with searchable, on-demand access to Chainguard documentation:
# Run as MCP server
docker run --rm -i ghcr.io/chainguard-dev/ai-docs:latest serve-mcpMCP Tools Available:
search_docs- Search across all documentationget_image_docs- Get specific container image docslist_images- List and filter available images with upstream mappingsget_security_docs- Get CVE and security informationget_tool_docs- Get wolfi/apko/melange/chainctl docsfind_package_equivalent- Find Wolfi packages for upstream OS packages (Debian, Fedora, Alpine)check_image_freshness- Live registry check for image tags and availability
Claude Desktop Configuration:
Add to your claude_desktop_config.json:
{
"mcpServers": {
"chainguard-docs": {
"command": "docker",
"args": ["run", "--rm", "-i", "ghcr.io/chainguard-dev/ai-docs:latest", "serve-mcp"]
}
}
}Benefits:
- Efficient context usage - only retrieve what you need
- Searchable and queryable documentation
- Perfect for automated workflows
- Works with Claude Desktop, Cursor, and other MCP-compatible tools
- Also available as a standalone Python script (no Docker required)
Full MCP Server Documentation →
# Extract current documentation from the container image
docker run --rm -v $(pwd):/output ghcr.io/chainguard-dev/ai-docs:latest extract /output
# The extracted file 'chainguard-ai-docs.md' is ready to use with your AI assistant- Container image signed with Sigstore/Cosign
- Container distribution via GitHub Container Registry
- Automated updates via GitHub Actions
- Security scanning with gitleaks
View our security resources:
- Security and Compilation Process - Detailed security measures and verification
- Build Logs - Public compilation logs
- Source Code - Open source compilation scripts
- Download and verify the documentation bundle using one of the methods above
- Open your AI assistant (Claude, ChatGPT, etc.)
- Upload or paste the markdown file into your conversation
- Start coding with full Chainguard context available to your AI assistant
Once you've loaded the documentation, try these prompts with your AI assistant:
- "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"
- "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"
- "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"
- "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"
- "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"
- "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"
- "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"
- Complete Context: AI assistants have access to all Chainguard documentation at once
- Better Code Suggestions: AI can reference actual Chainguard patterns and best practices
- Faster Development: No need to search through multiple documentation pages
- Accurate Answers: AI responses are based on official Chainguard documentation
The bundle is regenerated periodically. Check the timestamp in the downloaded file for the compilation date.
If you have questions or need assistance:
- Visit Chainguard Support
- Join our Community Slack
- Review our Documentation