Skip to content

vibepg logs ​

Synopsis ​

bash
vibepg logs <name> [--follow] [--tail <n|all>] [--since <duration>]

Description ​

Print or stream container logs. Thin wrapper around docker logs, with the same flag semantics.

Arguments ​

NameRequiredDescription
nameyesInstance name

Options ​

FlagShortTypeDefaultDescription
--follow-fboolfalseStream logs until interrupted (Ctrl-C)
--tailstring100Lines from the end of the log. Positive integer or all.
--sincestring(none)Only show logs after this duration (e.g. 10m, 1h, 2024-01-01T00:00:00)

Examples ​

bash
# Last 100 lines
vibepg logs demo

# Stream until Ctrl-C
vibepg logs demo --follow

# Last 50 lines
vibepg logs demo --tail 50

# Everything
vibepg logs demo --tail all

# Since 1 hour ago
vibepg logs demo --since 1h

# Combined
vibepg logs demo --since 10m --follow

Notes ​

  • --since accepts any duration docker logs understands.
  • For long-running streams, --follow blocks until you Ctrl-C.

See also ​

Released under the MIT License.