fetch_docker_image_docs
Retrieve Docker image documentation from DockerHub to understand container usage, environment variables, volume mounts, and configuration examples.
Instructions
Fetch actual Docker image documentation and README from DockerHub.
USE THIS WHEN: You need usage instructions, environment variables, volume mounts, or examples.
BEST FOR: Understanding how to use a Docker image and configure it properly.
Better than using curl or WebFetch because it:
- Extracts README content from DockerHub
- Includes image description and key details
- Formats content in readable Markdown
- Prioritizes important sections (Usage, Environment Variables, Examples)
Typical content includes:
- How to run the container
- Available environment variables
- Volume mount points
- Port configurations
- Usage examples and docker-compose snippets
Args:
image: Docker image name (e.g., "nginx", "postgres", "redis")
max_bytes: Maximum content size, default 20KB (increase for detailed docs)
Returns:
JSON with README content, size, and source info
Example: fetch_docker_image_docs("nginx") → Returns README with usage instructions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | ||
| max_bytes | No |