Vendor and Product Reality: Swarm in 2026
Docker Swarm mode shipped with Docker 1.12 in 2016 as a first-party orchestrator built into the Docker Engine. Its design choices favored operator ergonomics: a manager-worker topology coordinated through Raft, declarative service objects, rolling-update semantics, integrated overlay networking, and a deployment surface that was effectively a Compose file with a few additional keys. For teams already running Docker on a handful of hosts, going from single-host Compose to multi-host Swarm was a one-day transition rather than a one-quarter migration project.
Kubernetes won the orchestrator market in the years that followed, and Mirantis (which acquired the Swarm assets from Docker Inc. in 2019) has positioned Swarm as a maintained but no-longer-strategic product. Despite that, Swarm continues to run real workloads. Smaller operations teams that found Kubernetes' conceptual surface excessive for their scale, edge and on-premises deployments where a lightweight control plane matters, and Compose-driven shops migrating from single-host to clustered without committing to a Kubernetes operator ecosystem all keep Swarm in production. The product is not growing, but it is genuinely deployed, and its operational model, Compose stacks deployed as services, secrets and configs distributed through Raft, overlay networks providing service discovery, is what these teams rely on day to day.
The orchestrator does what it claims. It schedules containers across nodes, maintains desired replica counts, performs rolling updates and rollbacks based on health checks, distributes secrets and configs to authorized services, and survives manager failures up to its Raft quorum. Within the boundary of "keep these containers running with these resource constraints on these nodes," Swarm is a credible production system.
Architectural Gap: Authentication and Authorization Live in Raft, Not in the Workload
Swarm's authentication model is centered on the manager-side Raft store. Joining the cluster requires a worker or manager join token issued by an existing manager; mutual TLS between nodes is bootstrapped from a Swarm-internal certificate authority that the leader manager controls. Authorization for what services can run, what secrets they can read, and what configs they can mount is expressed in the service definition stored in Raft and enforced by the manager when it schedules tasks. Once a task is dispatched to a worker and the container starts, the runtime carries no portable representation of the rules that authorized it.
The consequence is structural. The service object, the unit of orchestration that an operator deploys, is not self-describing with respect to its own governance. Pull the running container off the worker and inspect it, and you see a process tree, mounted secrets, environment variables, and the image it was launched from. You do not see the policy that said this image was permitted to run, the credential chain that authorized this operator to deploy it, the constraints on what it is allowed to do at runtime, or the audit trail of why it is currently executing. All of that lives elsewhere, in the Raft store, accessible only by querying a manager.
For traditional containerized services this is acceptable, because the workload is doing one thing and the operator is the only entity asking governance questions about it. For agent-style execution, workloads that take semantically meaningful actions on behalf of credentialed principals, that may move across execution environments, and whose authority to act needs to be evaluable by parties other than the operator who deployed them, the gap is structural. Swarm cannot answer "is this agent presently authorized to do what it is doing" because Swarm has no concept of agents, only of containers, and the rules it enforces never travel with the workload they govern.
Health checking does not bridge this gap. A container whose health endpoint returns 200 OK is, from Swarm's perspective, healthy and therefore properly running. If the credential under which the agent inside that container was deployed has been revoked, if the policy authorizing its current action set has been narrowed, or if its memory state has diverged from what its lineage permits, Swarm has no machinery to notice and no vocabulary to respond. Restart-on-failure is the entire governance vocabulary, and it operates only on process exit codes.
What the Execution-Platform Primitive Provides
The execution-platform primitive disclosed in United States Patent Application 19/230,933 defines a workload object that carries its own governance with it. In the disclosure this object is a memory-bearing semantic agent: a software object with a fixed schema of structured fields, including an intent field, a context block, a memory field, a policy reference field, a mutation descriptor field, and a lineage field. The unit of execution is not an opaque container plus an out-of-band rule set; it is an agent whose own fields embed the cryptographically signed policy references that authorize it, the mutation descriptor that bounds what it may transform, the lineage field that records its ancestry and delegation provenance, and a memory field that any evaluating party, not only the operator, can inspect to determine whether the agent is presently entitled to do what it is doing. A skilled implementer could realize this as a serializable agent record whose fields are validated at each execution node, so the enumeration above is illustrative rather than exhaustive.
Authentication and authorization in this model are properties of the agent, not solely of the cluster. Identity is entropy-resolved rather than credential-bound: each agent derives a Dynamic Agent Hash from its memory field, mutation descriptor, and lineage, and the runtime validates behavioral trust slope continuity across execution cycles without persistent static credentials. Governance is enforced by scoped trust zones, which are governance domains associated with cryptographically signed policy objects; execution within a zone is permitted only if the agent's policy reference field and mutation descriptor align with the active zone governance. Enforcement is deterministic and occurs at execution time, prior to any mutation, delegation, or propagation, without dependence on a central orchestrator or post-execution filtering. Responses are graduated rather than binary: a mutation that fails validation can be quarantined, rolled back to a last verified state, escalated to a meta-policy layer, or subjected to quorum validation by independent zone validators before it proceeds. Embodiments range across centralized servers, federated nodes, decentralized mesh substrates, and edge devices.
Critically, the agent's governance representation is portable. Move the agent from one execution environment to another and its policy reference field, lineage, and memory trace travel with it inside the object; the receiving substrate revalidates trust slope continuity and zone policy alignment against the same signed policy roots, and the agent either continues with its scoped envelope intact or is quarantined. The rules ship with the workload.
Composition Pathway: Swarm as a Process-Isolation Layer
The composition with Swarm is not a replacement. Docker Engine and Swarm mode continue to do what they do well: container image distribution, namespace and cgroup isolation, overlay networking, scheduling across worker nodes, and Compose-file ergonomics. The execution-platform primitive sits above this, treating the Docker container as the process-level isolation primitive while introducing a workload-governance layer that Swarm does not currently provide.
Practically, this looks like an admission and supervision layer that intercepts service deployments, validates the credentialed authorization assertions attached to each workload, materializes the corresponding Swarm service definitions, and supervises running tasks against the policy envelope rather than only against health checks. Secrets and configs distributed through Swarm's existing Raft channel become one input to the workload's runtime context; the credentialed policy and capability envelope become another, distributed through the governance layer and verifiable independently.
For operators currently running Swarm, the migration path is incremental. Existing Compose stacks continue to deploy. Workloads that need governed execution, agent-style services, services taking actions on behalf of external credentialed principals, services whose authority to act must be evaluable beyond the operator's own audit logs, adopt the workload-governance layer one service at a time. Swarm's Raft store remains the source of truth for cluster membership and scheduling state; the governance layer becomes the source of truth for what each workload is presently entitled to do.
Commercial and Licensing Posture
Swarm's commercial trajectory makes it a cooperative rather than competitive surface for the primitive. Mirantis maintains Swarm as a supported orchestrator, and its published feature set centers on scheduling, networking, secrets distribution, and cluster availability rather than portable agent-level governance. The user base that remains on Swarm has chosen operator ergonomics over Kubernetes' breadth. A governance layer that runs above Swarm without requiring those teams to migrate to a different orchestrator is directly useful to that population.
The licensing posture treats Docker Engine and Swarm mode as unmodified upstream infrastructure. The primitive is realized at the agent-governance layer, with implementations that target Swarm, Kubernetes, Nomad, and direct-Docker-Engine deployments sharing the same memory-bearing agent object format and the same trust-zone policy model. Operators choose the orchestrator that fits their scale; the governance representation of their workloads does not change when they do. For Swarm-resident shops specifically, the value proposition is concrete: keep the orchestrator that fits the team, and gain a workload-governance surface the orchestrator was never built to provide.
Disclosure Scope
The invention described in this article, the memory-bearing semantic agent with intent, context, memory, policy reference, mutation descriptor, and lineage fields, together with scoped trust zones, entropy-resolved identity, trust slope validation, meta-policy enforcement, and portable governed execution across centralized, federated, decentralized, and edge substrates, is disclosed in United States Patent Application 19/230,933. This article is intended as an enabling, dated public disclosure of that inventive step and its embodiments and variations.
All statements in this article about Docker Swarm, Docker Engine, Mirantis, Kubernetes, and the container-orchestration market are provided as external context to frame the comparison. They describe third-party products and their generally known architecture at the time of writing and are not claims of United States Patent Application 19/230,933. Docker, Docker Swarm, and other product names are the property of their respective owners; their use here is descriptive and comparative only.