-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Machines Docker Logs
Streams one container's logs to your terminal.
ed machines docker logs [--tail <n>] [--follow] <machine> <container>
| Name | Type / values | Default | What it does |
|---|---|---|---|
<machine> |
machine name, ssh alias, id, or any unambiguous prefix | required | Which machine to ask. |
<container> |
container name or id, full or short | required | Which container's logs to read. Passed to docker as given. |
| Name | Type / values | Default | What it does |
|---|---|---|---|
--tail |
integer, 0 or more | 200 |
How many trailing lines to show. 0 shows none, which is what you want with --follow. |
--follow, -f
|
flag | off | Keep streaming until interrupted. |
--help, -h
|
flag | off | Print the help for this command on stdout and exit 0. |
There is no --json here, and no --since or --until: this is a passthrough
of docker's own output.
$ ed machines tuf docker logs lobe-chat --tail 3
2026-08-08T07:38:18.342112977Z Warning: Cannot polyfill `DOMMatrix`, rendering may be broken.
2026-08-08T07:38:18.342116199Z Warning: Cannot polyfill `ImageData`, rendering may be broken.
2026-08-08T07:38:18.342119077Z Warning: Cannot polyfill `Path2D`, rendering may be broken.
ed machines tuf docker logs lobe-chat
ed machines tuf docker logs tuf-api --tail 50
ed machines tuf docker logs open-webui --tail 0 --follow
The remote command is
docker logs --timestamps --tail <n> [--follow] <container>. Timestamps are
always on and cannot be turned off, which is the one way this differs from
typing docker logs yourself.
Output is streamed line by line as it arrives, with the container's stdout going
to your stdout and its stderr going to your stderr, so redirecting one does not
swallow the other. There is no timeout: --follow runs until you interrupt it
or the container stops.
This is one of the two verbs on this page that propagate the remote exit code
instead of mapping it into the 0 to 4 table. A container that does not exist is
docker's error, on stderr, with docker's status, usually 1. --tail is
validated before anything is sent: a negative value exits 2, though you have to
write --tail=-1 to reach the check because --tail -1 is read as a missing
value and exits 2 for that reason instead.
$ ed machines tuf docker logs open-webui --tail=-1
error: --tail cannot be negative
hint: pass 0 or more
-
ed machines docker, the rest of this group - All
edcommands
Auto-generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Companion
- Deploy
- Concepts
- Concepts Memory
- Concepts Ingestion
- Concepts Search
- Concepts Chat
- Concepts Learning
- Concepts Brain
- Concepts Friend
- Hosts
- Stack
- Status
- Doctor
- Search
- Index
- Ingest
- Episodes
- Sync
- Observations
- Reflect
- Beliefs
- Ask
- Extract
- Claims
- Corroborate
- Runs
- Chat
- Conversations
- Forget
- Export
- Import
- Erase
- Wipe
- Episode
- Nightly
- Reason
- Personas
- Council
- Lenses
- Core
- Why
- Hypotheses
- Predictions
- Commitments
- Discrepancies
- Calibration
- Inquire
- Entities
- Eval
- Standup
- Machines
- Baselines
- Connectors
- Facts
- Correct
- Weekly
- Db
Guides