Back to list
mhalder

podman-debug

by mhalder

Modular Linux development environment dotfiles managed with tuckr, featuring shell configurations, development tools, and automated installation hooks

1🍴 0📅 Jan 24, 2026

SKILL.md


name: podman-debug description: Diagnose and troubleshoot Podman container issues. Use when the user says "container crashing", "podman logs", "debug container", "container not starting", "exec into container", or asks why a container is failing. allowed-tools: Bash, Read, Grep

Podman Debug

Diagnose container issues, inspect logs, and troubleshoot Podman containers.

Instructions

  1. Run podman ps -a to see all containers and their states
  2. Identify the problematic container by name or ID
  3. Check container logs with podman logs <container>
  4. Inspect container config with podman inspect <container>
  5. If needed, exec into running container: podman exec -it <container> /bin/sh
  6. Report findings and suggest fixes

Common diagnostic commands

# Container status and health
podman ps -a --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"
podman healthcheck run <container>

# Logs with timestamps
podman logs -t --since 10m <container>
podman logs -f <container>  # follow

# Resource usage
podman stats --no-stream

# Inspect specific fields
podman inspect -f '{{.State.ExitCode}}' <container>
podman inspect -f '{{.State.Error}}' <container>
podman inspect -f '{{json .NetworkSettings}}' <container>

# Container processes
podman top <container>

# Events
podman events --since 1h --filter container=<name>

Common issues and solutions

SymptomCheckLikely Cause
Exit code 137dmesg | grep -i oomOOM killed - increase memory
Exit code 1podman logsApplication error
Exit code 126Entrypoint permissionschmod +x on entrypoint
Exit code 127Entrypoint pathCommand not found in image
Network unreachablepodman network lsNetwork not attached

Rules

  • MUST check logs before suggesting fixes
  • MUST report exit codes and their meaning
  • Never restart containers without user approval
  • Never remove containers or volumes without explicit request
  • Always suggest --rm flag for debug containers

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon