Files
Pulse/docs
rcourtman a4ba2ea5ef feat(updates): warn in-app when Docker /data storage is ephemeral (#4847)
## Summary
Live fleet telemetry shows ~46% of Docker Pulse installs run without a
persistent volume mounted at `/data`, meaning container recreation
(during updates via Portainer, Komodo, Watchtower, or `docker compose up
-d`) wipes configuration, authentication, alert rules, and license keys.
PR #4793 added a container-startup stderr warning in
`docker-entrypoint.sh`, which helps CLI operators but is missed by users
who manage containers through UIs and never read startup logs.

### Changes
- **`internal/updates/ephemeral_data.go` (+ `ephemeral_data_test.go`):**
- Mirror `docker-entrypoint.sh`'s `/proc/self/mountinfo` detection in Go
(`IsDockerDataDirEphemeral`, `ResolveDockerDataDir`,
`DockerEphemeralDataWarning`).
- Handles exact mountpoints, ancestor volume mounts, and escaped
mountinfo paths (`\040`, etc.), honors
`PULSE_SUPPRESS_EPHEMERAL_DATA_WARNING=true|1|yes`, and fails safe
(`false`) on non-Docker hosts or unreadable `/proc/self/mountinfo`.
- **`internal/updates/manager.go` & `internal/updates/pro_update.go`:**
- Append the ephemeral-storage warning to `UpdateInfo.Warning` when an
update is available (surfaced automatically in the existing
`UpdateBanner` warning callout for both Community and Pulse Pro Docker
installs).
- **`internal/api/updates.go` & `internal/api/update_readiness.go` (+
`update_readiness_test.go`):**
- Attach an optional `warning` check (`id:
"container-data-persistence"`) to `UpdatePlan.Readiness` in `GET
/api/updates/plan` (surfaced automatically in `Settings -> System ->
Updates` via `UpdateInstallGuide` right above the Docker update
instructions).
- Non-Docker deployments and Docker installs with a persistent volume
mounted keep the existing 4 readiness checks unchanged.
- **Subsystem contracts:** Updated `deployment-installability.md`,
`api-contracts.md`, `agent-lifecycle.md`, and `storage-recovery.md`.

### Verification
- `go test -count=1 ./internal/updates/...` passed on `pulse-dev`
(`8.7s`).
- `go test -count=1 ./internal/api -run
"TestBuildUpdateReadiness|TestRouterUpdateReadiness|TestHandleGetUpdatePlan|TestUpdatePlan|TestUpdateReadiness"`
passed on `pulse-dev` (`1.6s`).
- Full `.husky/pre-commit` (control-plane, status, registry, subsystem
contract, sensitivity, and guardrail tests) and `.husky/pre-push` (`npm
run lint`, `tsc --noEmit`) passed on `pulse-dev`.
2026-11-21 11:54:04 +00:00
..
…
2026-11-13 03:09:31 +00:00
2026-11-21 02:04:40 +00:00
2026-11-17 20:11:48 +00:00
…
…
2026-11-21 02:04:40 +00:00
2026-11-21 02:04:40 +00:00

Pulse documentation

Start here for installation, platform setup, security, operations, and Pulse Intelligence. Commands, configuration keys, image names, API fields, and product identifiers remain untranslated in localized guides.

The local guides below are shipped with this installation. Links labelled GitHub or online open online resources in a new tab and need network access; their current content can differ from your installed version.

Need help with a failure? Read the safe reporting guidance before sharing evidence. A second reproduction or diagnostics export is not required; keep the original evidence if another attempt could interrupt workloads or send duplicate notifications. GitHub reports and attachments are public: review them locally and keep credentials and private details out.

Start here

Localized getting started guides: Deutsch · Español · Français

Platforms and agents

VMware vSphere support is early access. Current builds expose dedicated vSphere inventory and recovery context, but operators should validate the integration against their own vCenter before production use.

Monitoring and operations

Pulse Intelligence

Patrol watch-only analysis is available on Community with a local model or the operator's own provider. Investigation and governed fixes require the relevant Pulse Pro capabilities.

Security, privacy, and access

Plans and managed access

Pulse Cloud is not generally available. Ordinary self-hosted Pulse remains the primary installation path; MSP and Enterprise access are explicit commercial paths rather than defaults in self-hosted setup.

Development and reference

Detailed design notes and dated migration specifications may remain in this directory for maintainers, but they are not operator setup guides unless they are linked from the sections above.

Previous versions and migrations

Found a bug? Use the issue forms. For setup questions, use GitHub Discussions.