docs/bug-report-how-to.md
This guide helps you collect the essential information needed to file effective bug reports. Providing complete and accurate information helps maintainers reproduce and fix issues faster.
š” Example of a good bug report: Issue #1094 demonstrates many of the best practices outlined in this guide.
Clear reproduction steps are essential for maintainers to understand and fix the issue.
Starting state: What was your setup before the issue?
Exact commands: Copy-paste the exact commands you ran
Reproducibility: Does it happen every time or intermittently?
1. Create new container: `container create --name test-app ubuntu:latest`
2. Start the container: `container start test-app`
3. Container fails during bootstrap with error:
"failed to bootstrap container test-app"
4. Container exits with code 1
Provide a comprehensive description of your problem. Include what currently happens (the bug), what you expect should happen instead, and any relevant log output.
Include any log output that helps illustrate the problem:
Run this command in Terminal to get your macOS version:
sw_vers
Example output:
ProductName: macOS
ProductVersion: 26.0
BuildVersion: 12A345
Get your Xcode version with:
xcodebuild -version
Example output:
Xcode 15.0
Build version 15A240d
Check your Container CLI version:
container --version
Example output:
container CLI version 0.10.0-27-g9fd15f0 (build: debug, commit: 9fd15f0)
When reporting issues, include logs that show:
For Container CLI issues, run commands with verbose output:
container --debug <command>
You can also use the container logs command to get logs from running containers. See the container logs documentation for full details.
container logs <container-id>
For system-level container issues, use the built-in system logs command. See the container system logs documentation for full details.
container system logs