Skip to content

Instantly share code, notes, and snippets.

@kkroesch
Created March 10, 2025 12:32
Show Gist options
  • Save kkroesch/54c4e9d0f81f6855e18a6bd05a3dcd87 to your computer and use it in GitHub Desktop.
Save kkroesch/54c4e9d0f81f6855e18a6bd05a3dcd87 to your computer and use it in GitHub Desktop.
Useful aliases for Podman and Docker
alias pps='printf "%-12s %-25s %-12s %-30s %s\n" "ID" "NAME" "STATUS" "IMAGE" "PORTS"; podman ps --format "{{printf \"%.12s %-25s %-12s %.30s %s\" .ID .Names .Status .Image .Ports}}"'
# ... to be continued
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment