On September 11, 2026, Portainer CEO Neil Cresswell wrote on the company blog that 2.45 LTS is the last release in the 2.x line and that Portainer 3.x is being built as a Kubernetes-first codebase. The Community Edition stays on 2.x. If you use Portainer only for Docker Compose stacks on a handful of hosts, that buys you time but no path forward. I show how I set up Komodo 2.3.4 next to it, pin the images and take over existing stacks.
What Portainer announced on September 11, 2026
The sentences that matter for Docker users
On the version line: "Portainer 2.45 LTS, which we shipped recently, is the last release in the 2.x line." On the architecture: "So Portainer 3.x is a Kubernetes-first codebase". On the Community Edition: "It will continue on the 2.x codebase. It will not receive the 3.x changes." And on maintenance of the old line: "We will continue to ship security updates, bug fixes, and selective back-ports of 3.x features into the 2.x line".
So 2.x is not "frozen": Portainer promises security updates, bug fixes and selective back-ports. The duration only appears in the undated addendum "A clarification" below the post: for as long as the 2.45 LTS line is supported. There is no end date (as of November 5, 2026). Docker environments remain usable in 3.x, but "secondarily ordered" and without new capabilities. The "3 Nodes Free" offer continues for 3.x, only without a separate CE build; according to the addendum it is a free Business Edition licence for three nodes. Portainer sends the licence key via a form on the programme page, limited to one licence per organisation. The vendor recommends considering a migration to Kubernetes, optionally with Portainer-D2K as a "Docker translator for Kubernetes".
Stay or move
Portainer CE 2.45.3 LTS was released on October 21, 2026 (UTC), and the image portainer/portainer-ce:2.45.3 is on Docker Hub. If you only click, you can stay. I move for a different reason: stacks from the Portainer web editor live in the portainer_data volume, while my Compose files live in git. Komodo works the other way round: Compose files live in the host file system, and it clones repositories there. If you look after stacks for other people, for example as part of IT support, the safest route is to keep Portainer running in parallel during the transition. Both hang off the Docker socket, and that only stays conflict-free as long as each stack has exactly one UI: Komodo takes over running Compose projects by project name and, with auto_update, redeploys them on its own.
Setting up Komodo 2.3.4 with MongoDB
+------------------+ +--------------------+ +-------------------+
| Browser | 9120 | Komodo Core | 27017 | MongoDB |
| https://komodo.. | -----> | ghcr.io/moghtech/ | -----> | mongo:8.0 |
| | | komodo-core:2.3.4 | | (volume) |
+------------------+ +---------^----------+ +-------------------+
| ws://core:9120 (outbound, keys)
+---------+----------+
| Komodo Periphery | --> /var/run/docker.sock
| komodo-periphery | --> /etc/komodo:/etc/komodo
| :2.3.4 | (same path inside/outside)
+--------------------+
Two files, seven values, one command
The official guide consists of two downloads and one docker compose up. I add a third file.
wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/mongo.compose.yaml
wget -P komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/compose.env
In komodo/compose.env I change seven values, everything else stays at its default:
# komodo/compose.env (changed lines only)
COMPOSE_KOMODO_IMAGE_TAG="2.3.4"
KOMODO_DATABASE_PASSWORD=<DB_PASSWORD>
TZ=Europe/Berlin
KOMODO_HOST=https://komodo.example.com
KOMODO_INIT_ADMIN_PASSWORD=<ADMIN_PASSWORD>
KOMODO_WEBHOOK_SECRET=<RANDOM_1>
KOMODO_JWT_SECRET=<RANDOM_2>
KOMODO_HOST is the URL the browser uses to reach Komodo; Komodo uses it for OAuth callbacks and webhook suggestions. I generate the two random values with openssl rand -hex followed by the number of bytes you want. If KOMODO_JWT_SECRET stays empty, Core generates a new secret on every start and all sessions are gone, as core.config.toml states.
The third file overrides only the database image:
# komodo/mongo.override.yaml
services:
mongo:
image: mongo:8.0
docker compose -p komodo \
-f komodo/mongo.compose.yaml \
-f komodo/mongo.override.yaml \
--env-file komodo/compose.env up -d
The first admin then logs in at http://<HOST>:9120 with admin and the password you set. The server "Local" is already there, because KOMODO_FIRST_SERVER_NAME=Local and PERIPHERY_CONNECT_AS sit in the same file.
Why I pin 2.3.4 instead of 2 and mongo:8.0 instead of mongo
The template sets COMPOSE_KOMODO_IMAGE_TAG="2", and mongo.compose.yaml pulls image: mongo without a tag. Both mean the same thing: a docker compose pull on the wrong day fetches an image I did not choose, and the next docker compose up -d recreates the containers with it, because Compose replaces running containers whose image has changed. The changelog of 2.3.4 from October 22, 2026 (UTC) is a single line, a bump of webpki-roots that drops the eMudhra root after an intermediate key compromise. I apply patch releases like that deliberately, so the patch version sits in compose.env, and I raise it by hand.
For MongoDB I choose the override file instead of editing mongo.compose.yaml. That way I can re-download the template with the next Komodo release without losing my change. Komodo's FerretDB variant carries the same warning in its template: "Pin to a specific version. Updates can be breaking."
Key pairs instead of a passkey
Older guides set KOMODO_PASSKEY and PERIPHERY_PASSKEYS. Both are marked "Deprecated. Legacy v1 compatibility." in the current configuration templates. The template works with key pairs: Core reads KOMODO_PERIPHERY_PUBLIC_KEY=file:/config/keys/periphery.pub, Periphery reads PERIPHERY_CORE_PUBLIC_KEYS=file:/config/keys/core.pub, and both share the keys volume. For additional hosts you create an onboarding key in the UI and install Periphery there via systemd. The docs recommend that route explicitly because it avoids "a number of complications" of running the agent in a container.
Taking over existing stacks
Three sources for Compose files
A Stack in Komodo takes its Compose files from the UI (Komodo writes them to the host at deploy time), from existing files on the server, or from a git repository. For running projects the docs say: Komodo matches them by Compose project name. If the running name differs from the Stack name, set project_name. docker compose ls shows the names.
My example is a stack web that lives under /etc/komodo/stacks/web/ and mounts a directory relative to the Compose file:
# /etc/komodo/stacks/web/compose.yaml
services:
web:
image: nginx:1.30.6-alpine
volumes:
- ./html:/usr/share/nginx/html:ro
As a Resource Sync entry the stack looks like this. The docs show run_directory and file_paths on a git stack; for files on the host you additionally need files_on_host = true, otherwise Periphery aborts with "Must either input compose file contents directly, or use files on host / git repo options.":
[[stack]]
name = "web"
[stack.config]
server = "Local"
files_on_host = true
run_directory = "/etc/komodo/stacks/web"
file_paths = ["compose.yaml"]
Stacks from the Portainer web editor I copy as text out of the editor into exactly such a file and add them to my stacks repository with git add. Only then do they land in git for the first time.
The path must be identical inside and outside
The Periphery template mounts the root directory as ${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}:${PERIPHERY_ROOT_DIRECTORY:-/etc/komodo}, with the comment "Must be the same inside and outside the container, or docker will get confused." The reason is in discussion #180 from November 2024: Periphery runs docker compose inside the container, but the Docker daemon resolves bind mounts like ./html on the host. So if your stacks live in /opt/stacks, set PERIPHERY_STACK_DIR=/opt/stacks and additionally mount /opt/stacks:/opt/stacks.
"Permission denied (os error 13)" after the stack write
If you run Periphery as a systemd user service and take over an existing stack directory, "Pull Images" can fail with this message from issue #760 in the Komodo repository:
ERROR: 500 Internal Server Error
TRACE:
1: Failed to validate run directory on host after stack write (canonicalize error)
2: Permission denied (os error 13)
The reporter had recursively given the Komodo user ownership of the stack directory, and the error remained. It was only resolved when the parent directory /opt/stacks also belonged to that user. The maintainer's reasoning, hedged with "IIRC": when a new stack is cloned, Periphery creates a subfolder, and for that it needs write permission on the parent directory. The same first line with No such file or directory (os error 2) on the second line has a different cause: git is missing on the host. Periphery gives no warning for that; issue #797 about the misleading error message is open as of November 5, 2026.
Portainer CE, Komodo and Dockge compared
Key data on November 5, 2026
| Portainer CE 2.45.3 | Komodo 2.3.4 | |
|---|---|---|
| Latest release (UTC) | October 21, 2026 | October 22, 2026 |
| Licence | zlib | GPL-3.0 |
| Containers | one, volume portainer_data |
Core, Periphery, database |
| Database | built in | MongoDB or FerretDB |
| Stack sources | web editor, upload, git, custom template | UI, files on the host, git |
| Additional hosts | agent or Edge Agent container | Periphery via systemd or container |
I leave Dockge out of the table: its last release 1.5.0 dates from March 30, 2025, the last commit from October 23, 2026.
Image sizes from the registry manifests
Without a docker pull, the size of an image can be read from its manifest. I fetch the manifest index with an anonymous token, pick the linux/amd64 entry and sum the size fields of the layers. The result is the compressed transfer size, not the space on disk.
#!/usr/bin/env bash
# ghcr-size.sh IMAGE TAG : compressed amd64 size in bytes, without a pull
img="$1"; tag="$2"
tok=$(curl -s "https://ghcr.io/token?scope=repository:${img}:pull" | sed -E 's/.*"token":"([^"]+)".*/\1/')
dig=$(curl -s -H "Authorization: Bearer ${tok}" \
-H 'Accept: application/vnd.oci.image.index.v1+json' \
"https://ghcr.io/v2/${img}/manifests/${tag}" \
| python3 -c 'import sys,json;d=json.load(sys.stdin);print([m["digest"] for m in d["manifests"] if m["platform"]["architecture"]=="amd64" and m["platform"]["os"]=="linux"][0])')
curl -s -H "Authorization: Bearer ${tok}" \
-H 'Accept: application/vnd.oci.image.manifest.v1+json' \
"https://ghcr.io/v2/${img}/manifests/${dig}" \
| python3 -c 'import sys,json;print(sum(l["size"] for l in json.load(sys.stdin)["layers"]))'
| Image (amd64, compressed) | Size |
|---|---|
portainer/portainer-ce:2.45.3 |
44.9 MB |
ghcr.io/moghtech/komodo-core:2.3.4 |
267.9 MB |
ghcr.io/moghtech/komodo-periphery:2.3.4 |
168.4 MB |
mongo:8.0 |
316.4 MB |
ghcr.io/ferretdb/ferretdb:2.7.0 |
17.7 MB |
ghcr.io/ferretdb/postgres-documentdb:17-0.107.0-ferretdb-2.7.0 |
521.9 MB |
The figures for Portainer and mongo:8.0 come from the Docker Hub API, the four ghcr.io images from the script. Komodo with MongoDB downloads 722.9 MB on an empty cache, because Core and Periphery share two layers totalling 29.8 MB; Portainer CE is roughly one sixteenth of that.
Questions from practice about Komodo
MongoDB or FerretDB?
The Komodo docs recommend MongoDB and name FerretDB for systems that cannot run current MongoDB versions. According to the MongoDB production notes, MongoDB 5.0 and later requires the AVX instruction set on x86 plus a minimum microarchitecture (Intel Core from Haswell, AMD from Bulldozer), and the ARMv8.2-A microarchitecture or later on arm64. With a host kernel from 6.19 through 7.0.13, MongoDB stops at startup according to the same page, in the Docker image as well; 7.0.14 and later fixes this. The official image checks the CPU features at startup and warns, on amd64 with: "MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!" On older NAS devices and some mini PCs, FerretDB is the answer. Then pin both images as the FerretDB docs prescribe: ghcr.io/ferretdb/ferretdb:2.7.0 together with ghcr.io/ferretdb/postgres-documentdb:17-0.107.0-ferretdb-2.7.0.
Does auto_update replace Diun?
Komodo has two modes: poll_for_updates checks for new digests, shows an indicator in the UI and sends an alert if an Alerter is configured (none is set up above); auto_update additionally redeploys. Both require a rolling tag such as latest. The "Global Auto Update" procedure runs daily at 03:00 on new installs. I enable poll_for_updates, and auto_update only for services without a database of their own, for the same reasons as in Diun instead of Watchtower.
How do I back up the Komodo database?
The "Backup Core Database" procedure runs daily at 01:00 and keeps the most recent 14 backups under /backups, on the host under COMPOSE_KOMODO_BACKUPS_PATH=/etc/komodo/backups. According to the docs the files are not encrypted. I add the directory to my restic backup to S3.
Does Komodo run behind Traefik?
Yes. KOMODO_HOST must be the browser URL, the proxy should set X-Forwarded-Host to the Komodo domain according to the docs (the docs show that only for Caddy, which does it by default), and Periphery connections from outside come in via /ws/periphery. Which proxy I put in front of it is explained in my comparison Caddy or Traefik. Komodo does not define an application-level HEALTHCHECK: according to the docs it checks the state of the stack's services (ignore_services excludes init containers, for example) and reports state changes via send_alerts. The HEALTHCHECK itself belongs in the Compose file as before, see Docker HEALTHCHECK and restart_policy.
Documentation and sources
Komodo
- Setup with MongoDB and FerretDB
- Docker Compose stacks, Automatic Updates, Backup and Restore
- Connect More Servers and Advanced Setup
- core.config.toml and periphery.config.toml
- Discussion #180 and Issue #760
Portainer, MongoDB and FerretDB
Note: The articles on this blog are produced with the help of AI and are editorially reviewed before publication. Editorial responsibility lies with Emre Yurtbay (see the legal notice).