Prefer exact "<stack>-<service>-<N>" compose naming over generic substring
match, so "librarian" in stack "librarian" resolves to "librarian-librarian-1"
unambiguously. Substring fallback is also scoped to the stack's own containers.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Falls back to substring match when exact name isn't found. Auto-selects
if unambiguous (e.g. "librarian" → "librarian-librarian-1"), errors with
a disambiguation list if multiple containers match.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
portainer-cli console <stack> <container> looks up the stack by name to
find its endpoint ID automatically, so the user never needs to specify it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Ruby CLI tool for interacting with the Portainer API. Supports listing
endpoints/stacks/containers/volumes/networks, creating stacks and containers,
and opening an interactive exec session in a container via WebSocket.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>