Skip to content
🐋Cetacean

Dashboard

The dashboard updates itself: a scaled service or a downed node appears without a refresh. The connection indicator in the nav bar shows when the last update arrived, and reconnects on its own if the connection drops. It also carries a resync button that makes Cetacean re-read the whole cluster from Docker.

The indicator reads Live, Reconnecting, or Stale. Stale means your browser is connected to Cetacean but Cetacean has lost Docker, so everything on screen is the state it last read, not the cluster as it is now. The indicator switches to a warning color and shows how long ago that was; the dashboard catches up on its own once Docker answers. The same condition is available to alerting—see Monitoring.

The nav bar links every resource type: nodes, stacks, services, tasks, configs, secrets, networks, volumes, plugins, plus the swarm info, topology, and metrics pages. On narrow screens they collapse behind a menu button.

To the right of the search box sit the shortcut help button, a recommendations indicator badged with the current finding count, the theme toggle (light, dark, system), and, in every authentication mode except none, the identity badge linking to your profile. The footer carries the running version and commit, the licenses page, and a link to the API playground at /api.

Keyboard shortcuts

Press ? for the full list. Shortcuts are ignored while focus is in a text input, apart from ⌘ K / Ctrl K and ⌘ Enter / Ctrl Enter.

ShortcutAction
⌘ K / Ctrl K
Toggle the command palette
/
Open the command palette
?
Toggle the shortcut list
Esc
Close the overlay, or go back
g h
Cluster overview
g n
Nodes
g k
Stacks
g s
Services
g a
Tasks
g c
Configs
g x
Secrets
g w
Networks
g o
Published ports
g v
Volumes
g p
Plugins
g i
Swarm info
g t
Topology
g m
Metrics console
g r
Recommendations
j / ↓
Next row in a table
k / ↑
Previous row
Enter
Open the selected row
⌘ Enter / Ctrl Enter
Submit the form, or save the inline editor

The g shortcuts are chords: press g, release, then the second key within one second. Hovering a nav link shows its chord.

Command palette

⌘ K (Ctrl K on Linux and Windows) opens the palette. Type to search names, images, and labels across every resource type. Results are grouped by type in a fixed order, with a state indicator per row, and refresh every two seconds while the palette is open so a converging service updates in place. Move with the arrow keys and open with Enter.

Typing an action name instead runs that action as a guided sequence, one prompt per argument, with a breadcrumb of what you have chosen so far:

ActionType
Scale Service
Pick a service, then a replica count
Update Image
Pick a service, then an image reference
Rollback Service
Pick a service
Restart Service
Pick a service
Drain Node
Pick a node
Pause Node
Pick a node
Activate Node
Pick a node
Promote Node
Pick a node
Demote Node
Pick a node
Force Remove Task
Pick a task
Remove …
Pick a service, node, stack, config, secret, network, or volume
Add Annotation
Fill in the annotation form
Rotate Worker Join Token
Confirm
Rotate Manager Join Token
Confirm
Rotate Unlock Key
Confirm; refused after it with Auto-Lock Managers off
Force CA Rotation
Confirm
Enable Plugin
Pick a disabled plugin
Disable Plugin
Pick an enabled plugin
Remove Plugin
Pick a plugin

Actions that remove or disrupt something ask for confirmation before they run. When Docker refuses to remove a node, the palette offers Force Remove Node behind a confirmation of its own. An action your operations level or your grants don’t allow is refused with a permission message, not a server error.

List pages

Every resource type has a list page with a search box, sortable columns, and a table or grid toggle. Search and sort are held in the URL (?q=, ?sort=, ?dir=), so a filtered list is a shareable link. Your choice of table or grid is remembered per resource type; narrow screens always use the grid.

Lists load more as you scroll, and stay current as resources come and go.

Where your grants allow creating one, the config and secret lists carry a create form: a name, plus the content pasted in or read from a file. A secret’s value can’t be read back afterward.

The API accepts expression filters through ?filter= that the dashboard’s search box doesn’t build. See the API guide for the fields available per resource type.

The published ports page at /ports lists every port the services publish, one row per port: the published and target port, protocol, publish mode, and the service and stack behind it. An ingress port is bound on every node; a host-mode port shows how many nodes bind it. Search matches the service name. It has no entry in the navigation bar; open it with g o, or with the Published ports button on the networks list.

Detail pages

A detail page shows the resource, its cross-references (the services using a config, the tasks of a service, the stack a resource belongs to), and its recent change history. Cross-references are links, so you can walk from a secret to the services mounting it to the nodes their tasks run on.

A stack’s page opens with Topology: the networks its services attach to and the configs, secrets, and volumes they mount, drawn as a graph above the tables listing the same resources. Every node links to the resource it stands for, and a service shows its running tasks against the number wanted. A network the stack doesn’t own is drawn dashed; a resource nothing references is dimmed. Hovering or focusing a node dims everything more than one edge away and names it in the URL.

Service and node pages list their Tasks over a time range of their own, ?taskRange=, or ?taskFrom= and ?taskTo= in epoch seconds, apart from the charts’: a task shows when it was alive at some point in that range. Timeline switches the list to a row per replica (per node for a global service, per service replica on a node page), each task a bar from its creation to its exit. A bar carries the task’s ID, and its color shows the state. A failed task’s bar ends in a mark, hovering shows its error, and clicking opens the task. Drag across the timeline to zoom into a stretch, and double-click to go back. ?taskView=timeline opens the section on the timeline. Swarm keeps only the newest few tasks of each replica, so where older ones may have been pruned, the start of a row is hatched.

Where the operations level and your grants allow it, detail pages carry actions: scale, update image, rollback and restart on a service, plus inline editors for environment variables, resource reservations and limits, placement, ports, update and rollback policy, and the log driver; availability and labels on a node; force removal on a task. Actions hidden by permissions aren’t rendered.

Configs, secrets, networks, volumes, services, stacks, nodes, and tasks can also be removed from their detail page, behind a confirmation. A config, secret, network, or volume that a service still uses can’t be removed, and its button says why.

Service and stack pages end with a collapsed Compose file section. Expanding it renders the resource as a compose document, with buttons to copy it or download it as a .yaml file. It redeploys to the state the cluster is running now, so it isn’t the file the stack was first deployed from, and it references secrets and configs rather than exporting their contents.

Build information

When an image was pushed by BuildKit with attestations, which minimal provenance is by default, and which the Docker Official Images all carry, service and task pages mark the image with a blue check and show a Manifest section under the overview. It’s read from the image’s registry, anonymously, when the page opens, and it shows what the build recorded:

  • the source repository and commit, linked on GitHub, GitLab, and Codeberg
  • for an image built on GitHub Actions, who pushed what, the workflow, and a link to the run
  • the builder, when the build ran and how long it took, the Dockerfile’s path, and the images it was built from

Nothing in it is verified: it’s what the image says about itself. A multi-platform image gets a platform picker, which starts on the platform most of the service’s running tasks are on; a task shows the platform its node runs. When there is nothing to show, the section says why in one line: the image has no attestations, isn’t pinned by digest, is private, or is gone from its registry. server.image_attestations turns it off.

When the image has an SBOM, the section’s SBOM button opens its page: every package with its version, ecosystem, license, and where in the image it was found, searchable by name or package URL and filterable by ecosystem and license, with the list downloadable as CSV or as the SPDX document itself. Distribution packages usually declare a license; Go modules in a Syft SBOM never do, and the page says so instead of leaving the column unexplained.

When the provenance was recorded with mode=max, it embeds the Dockerfile, and Show Dockerfile opens a page with the file, the size of the layers each instruction produced beside it with a small pie of its share of the image, and how much of the image came from its base. It answers why an image is as large as it is. A layer no line produced is listed beneath, rather than guessed at.

Network addresses

An overlay network that runs out of addresses fails new tasks, and the default /24 holds 253. The networks list shows each swarm network’s Addresses as used against usable, amber from 80% and red from 95%; the detail page breaks the figure down into service virtual IPs, task addresses, and load balancers, one per node with a task on the network, or on every node for ingress. A recommendation is raised at the same thresholds.

The figure covers IPv4 on the default IPAM driver. It can’t see containers attached to an attachable network with docker run --network, so on such a network the real count may be higher, and the page says so.

Rotating a secret or config

Swarm can’t change a secret or a config once it exists, so rotating one means replacing it:

  1. On the Secrets list, create the replacement under a new name, such as db_password_v2. This needs operations level 2.
  2. On the replacement’s page, add the label cetacean.version-of=db_password so it groups with the old one. If the old one carries a com.docker.stack.namespace label, add that too.
  3. Open the old secret. Its page lists every service that mounts it. On each service, edit Secrets: add the replacement with the same Target the old one had, so the container reads the same file, and remove the old one. Saving rolls the service out once. This also needs level 2.
  4. Once the old secret’s page lists no services but those marked for a rollback, remove it. This needs level 3, and Docker refuses while any service still mounts it. The confirmation names the services that lose their rollback target.

Configs follow the same steps from the Configs list and each service’s Configs editor. A service deployed from a Compose file gets the old reference back on the next docker stack deploy, so change the file as well.

Over the API, the same sequence is POST /secrets, then PATCH /services/{id}/secrets for each service named in GET /secrets/{id}, then DELETE /secrets/{id}; see the API guide.

Versions

Rotation leaves a trail of versions behind, so the config and secret lists show the newest version of each group, and beside it any older version a service still runs, marked older, in use: a version in use is never hidden. +N older loads the rest beneath the newest. The Used by column counts the services using each one, or whose previous spec does, since a rollback needs it (the detail page lists those as for a rollback), and an older version none of the services you can see uses says so. A search, a filter expression, or a label filter shows every version it matches; narrowing by stack, state, node or image does not.

Versions group only within one stack, by their com.docker.stack.namespace label, so a replacement must carry the same stack label as the version it replaces. Within a stack, a config or secret labeled cetacean.version-of=<name> is a version of <name>, taken as written apart from a <stack>_ or <stack>- prefix, so api-v1 and api-v2 are two names. One labeled com.matchory.deployment.name=<name>, as Docker Swarm Deployment Action writes, is a version of <name> exactly as written, since the action writes the Compose key without a prefix. Without either label, Cetacean matches names instead, dropping the same prefix and a version suffix, which is _ or - followed by either eight or more hex digits with at least one letter among them (app_env_0a1b2c3d4e5f, as docker-stack-deploy and SwarmCD write) or v and a number (db_password_v3). A number alone isn’t one, so worker_1 and backup_20240101 stay apart. So myapp_db_password groups with myapp_db_password_v2, and with a replacement labeled db_password in the same stack. A group matched by name says inferred from names, because a name can match by accident; label your versions to make it certain.

The newest version is the one created last. Each older version that no service uses is flagged as an unused-version recommendation, so you know what’s safe to remove. Both the groups and the counts cover only the configs, secrets, and services you may read.

Charts

Charts appear on the cluster overview and on node, service and task detail pages, and require monitoring. Node and service list pages carry sparklines and gauges from the same data.

The panel header holds a 1H / 6H / 24H / 7D selector, a custom date-time range picker, a refresh button, a pause control for the live stream, and a line/area toggle. The selected range is stored as ?range=, and a custom one as ?from= and ?to=.

  • Click a series name or line to isolate it. Everything else dims; click again to restore.
  • Drag horizontally to zoom into a time window. The URL updates, so the window is shareable.
  • Hover one chart to get a crosshair and matching values on every other chart in the same panel.
  • Double-click a stack in the per-stack charts on the cluster overview or a node page to drill into its services.

The preset ranges update live as new points arrive. A custom range is a snapshot; use the refresh button to bring it up to date.

On service, node, and task pages the charts mark the resource’s history. Each change is a line, and hovering it names what changed and who made it; changes too close to tell apart share a thicker line. A stretch Cetacean wasn’t watching, a gap, is hatched. Annotations are drawn as flags, or as shaded bands for a range, in a color of their own, and a different one for cluster-wide annotations; a task’s charts show only the cluster-wide ones. Over a long range the charts mark only the newest changes and say so; narrow the range to see the rest.

Metrics console

The metrics page runs PromQL directly against the configured Prometheus, with completion for metric names. A query returns a result table and a range chart over the same 1H / 6H / 24H / 7D selector. The query and range are held in the URL as ?q= and ?range=.

Log viewer

Service and task detail pages carry a log viewer. The live toggle in the toolbar starts and stops the stream; while it runs the view follows the bottom of the output, and scrolling up pauses that until you scroll back down.

  • Time range: presets from the last 5 minutes upwards, or a custom since/until pair
  • Filters: by level (parsed from the line, including JSON and log/slog numeric levels) and by stream
  • Search: substring or regular expression, with match navigation and highlighting
  • Rendering: JSON payloads pretty-printed, levels color-barred
  • Download: saves the lines currently loaded as a .log file

Topology

The topology page has two views.

  • Logical: one card per service, grouped into its stack, with an edge between any two services sharing an overlay network, listing the shared networks. Hovering a card dims everything it isn’t connected to, and the legend maps colors to stacks.
  • Physical: one card per cluster node, listing the tasks placed on it. With cAdvisor in monitoring, each service’s box shows its CPU and memory on that node; with node-exporter, each node’s header shows its CPU and memory use. The Network selector emphasises the services attached to one overlay network and dims the rest, and the choice stays in the URL.

Both views pan, zoom and let you drag cards, and clicking a service opens its detail page.

Swarm page

The swarm info page shows the cluster’s join tokens and its Raft, orchestration, dispatcher, CA, and encryption settings, each editable in place where the operations level and your grants allow it. Rotating a join token asks for confirmation.

Below the settings, a Plugins section lists the installed Docker plugins and links each to its own page, where you can enable, disable, configure, upgrade, or remove it. An Install Plugin button appears when your grants allow installing. It takes a remote reference and shows the privileges the plugin requests before you confirm.

Profile

In every authentication mode except none, the identity badge opens a profile page. It shows how you’re signed in, with your subject, email, and groups where the provider supplies them, and the certificate issuer and expiry in cert mode. Under oidc it carries the Sign out button.

Installing the dashboard

Cetacean serves a web app manifest, so a browser that supports it offers to install the dashboard as an app with its own window and icon. It’s the same dashboard—it still needs a connection to Cetacean, and nothing is cached for offline use.

History

The history page at /history, linked from the recent activity on the cluster overview, lists the changes Cetacean has seen and the annotations, newest first, with older entries a button away. Filter it by resource type, by kind (changes or annotations), or with the search box, which keeps the rows showing each of its words: in a name, an action, who made the change, an annotation’s text, or the start of an ID. A word starting with # filters by tag, completed from the tags in use. Tab or Enter takes the highlighted tag, and Space keeps the tag as typed. The filters are held in the URL. Download CSV saves what the filters match as CSV. Recent activity elsewhere folds consecutive changes to one resource into a single row with a count, but the history page lists every entry.

A change made through Cetacean names who made it and whether they used the dashboard, the API, or MCP. A change with no name came from somewhere else, such as the Docker CLI. The history survives a restart while storage.timeline is on; the time Cetacean wasn’t watching shows as a gap, a divider between the rows. Changes Docker still remembered from the gap appear below it, marked recovered, and the divider says it was partly covered by Docker’s log. Task changes during a gap are never recovered.

Annotations

An annotation is a note about a moment or a range: that a load test started, or why a deploy was rolled back. It names services, stacks, or nodes, or none to be about the whole cluster. Annotations need storage.timeline but no operations level; who may write one follows your grants, as the API guide describes.

Annotations appear on the history page, in the recent activity of the resources they name, and on those resources’ charts. Each shows its text, with any URLs in it as links, when it happened, what it’s about, its tags, and who wrote it. Its time opens its own page at /annotations/{id}. A tag opens /annotations, which lists every annotation you may read, yours or anyone’s, filtered by tag and text in the same search box as the history page and downloadable as CSV. Its Tags button opens /annotations/tags, the tags in use with how many annotations carry each. Show on chart opens the metrics of the first service or node an annotation names that hasn’t been removed, zoomed to the time around it. It’s hidden with metrics off, when every service and node named was removed, and on an annotation that starts in the future.

To add one, use Add annotation on the history page, on /annotations, or in the recent activity of a service, stack, or node, or the palette’s Add Annotation. The form takes the text, up to 1,000 characters; tags, completed from the tags in use; a start; an optional end, which makes it a range; and what it’s about. An annotation’s … menu, and the buttons on its page, edit or delete it; what it’s about can’t be changed from the dashboard. The menu offers only what you may do.

On service and node charts, the annotate button in the panel header turns on annotate mode, as does holding Ctrl or ⌘ for as long as it’s held: click a chart to mark a moment, or drag across it to mark a range, and the form opens there. On a touch screen, tap twice: on the same spot to mark a moment, or at two spots to mark a range. Esc leaves the mode.

Clicking a flag or a band pins its annotations below it. Each carries its menu and a link to its page. The panel’s Annotations menu hides them, or shows only those with the tags you pick from the ones in view. Both are held in the URL, as annotations=off and one annotationTag per tag, so a link to the page keeps them.

Atom feeds

Every resource list and detail page shows a feed icon in the page header. Click it to open that page’s Atom feed, or copy the URL into a feed reader. The history, annotations, search and recommendations pages have feeds too. See the API guide for the supported endpoints and pagination.

Licenses

The licenses page, linked from the footer, lists every open-source dependency bundled into Cetacean, both Go modules and frontend packages. Search by name, or filter by ecosystem and license. Clicking a license badge opens the full text for that dependency, with its NOTICE file if it ships one. The header links to the complete attribution document.