Repository navigation
Releases
BeforeUp 0.4.6
BeforeUp 0.4.6
This release adds read-only, warning-only checks for selected risky Docker Compose settings: privileged mode, sensitive Linux capabilities, disabled confinement, Docker socket bind mounts and host network, PID or IPC namespaces.
Security findings apply to active Compose profiles in both check and compare. They are warnings, not confirmed vulnerabilities. --strict changes the exit code without changing severity.
Downloads
- Linux: amd64 and arm64 static tarballs and Debian packages. The arm64 artifacts are cross-built; their installation and runtime were not verified on native ARM64 hardware.
- Windows amd64 (experimental):
beforeup_0.4.6_windows_amd64_experimental.zip. Tested on Windows 11 with Docker Desktop's Linux Engine and Compose 5.7.0. Windows containers, native host probes and other Windows configurations remain unsupported or unverified. The executable is unsigned. - SHA256SUMS: hashes for all five archives/packages.
Verification
Go unit, race and vet checks, 18 read-only Compose scenarios and the CI JSON/redaction contract passed on the maintainer Linux host. The Linux amd64 Debian package installed and uninstalled in a network-isolated Ubuntu 26.04 container. The Windows executable passed native Compose security checks, strict/profile/privacy checks, and isolated real running-container comparisons without container recreation; project-scoped cleanup left no test containers or volumes.
BeforeUp still does not pull remote images, validate application health, or scan images for vulnerabilities. It never deploys a stack or alters running containers.
BeforeUp 0.4.5 preview 1: Windows Docker Desktop
BeforeUp 0.4.5-preview.1: experimental Windows build
First downloadable Windows 64-bit preview for Docker Desktop with Linux containers. The stable Linux release remains v0.4.4.
Tested behavior
- Native Windows 11 with Docker Desktop 4.99.0, Docker Engine 29.9.3, Docker Compose 5.7.0 and WSL 2.
- Read-only Compose validation and comparison with a running project, including changes to declared environment settings, mounts and image references.
- Duplicate published host-port declarations, including selection of Compose profiles.
- Linux regression tests, Windows Go tests, CLI privacy checks and isolated Docker Desktop integration tests.
Important limitations
- Windows workstation port listeners, bind-source paths and Docker VM free disk space are not checked. The CLI reports
DESKTOP_VMto make this limitation explicit. - Windows-container mode, Windows ARM64 and remote Docker host probing are not supported by this preview.
- A matching comparison does not guarantee that deployment is safe.
--strictcan return a nonzero status for the expected desktop warnings. - This executable is unsigned and requires an existing Docker Desktop installation. It does not change your containers or permissions.
Download and verify
Download beforeup_0.4.5-preview.1_windows_amd64.zip and SHA256SUMS below, then verify the ZIP's SHA-256 digest before extraction. The ZIP includes beforeup.exe, a Windows-specific README and the MIT license. Full PowerShell instructions: Windows preview guide.
BeforeUp 0.4.4
BeforeUp 0.4.4
BeforeUp 0.4.4 adds read-only warnings for Docker Compose configurations that pass schema validation but can fail or behave differently when started.
New diagnostics
- RESTART_POLICY_OVERRIDDEN: an incomplete deploy restart policy can silently replace an explicit service restart policy.
- RESTART_POLICY_INVALID: a positive retry limit without a compatible on-failure condition can cause container creation to fail.
- PRE_START_REPLICA_UNSUPPORTED: a per-replica pre-start hook is accepted by Compose configuration validation but rejected at startup.
These warnings apply only to Docker Compose 5.5.0, 5.5.1, 5.6.0 and 5.6.1, independently reproduced on Debian 13 amd64 with rootful Docker Engine 29.8.1. Other Compose versions are not classified by these checks. Warnings do not block by default; --strict can make them fail a CI preflight.
Verification. Go tests, race checks, vet and formatting checks passed. The 14-case existing Compose matrix and 56 targeted read-only cases across four Compose versions passed. The amd64 Debian package installed, ran and was removed in isolated Debian 13, Ubuntu 24.04 and Ubuntu 26.04 containers. The ARM64 assets were cross-built and were not tested on ARM64 hardware.
Install. Download the matching archive or Debian package below and verify its SHA-256 checksum against SHA256SUMS before installing.
- Debian/Ubuntu amd64:
sudo apt install ./beforeup_0.4.4_amd64.deb - Other Linux installations: unpack the matching archive after checksum verification.
- Commands:
beforeup check -f compose.yamlorbeforeup compare -f compose.yaml.
BeforeUp does not start or reconfigure containers. A clean preflight is not proof of successful startup or application health. SELinux-enforcing, rootless writable mounts, Docker Desktop and ARM64 Docker Engine integration remain unverified.
BeforeUp 0.4.3
BeforeUp 0.4.3 is the first stable release of the read-only Docker Compose preflight and deployment-change checker for native Linux Docker Engine setups.
What it checks
- Docker Compose configuration resolution, host-port ownership and collisions, missing local bind sources and build contexts, and Docker disk headroom.
- Differences between a proposed Compose project and its currently running services: published ports, bind mounts/volumes, declared environment values and image references. Sensitive values and resolved bind-source paths are not printed.
- Optional JSON output and strict warning exit codes for scripting.
Install
- Debian/Ubuntu: download the appropriate
.debasset andSHA256SUMS, verify the checksum, and install withsudo apt install ./beforeup_0.4.3_amd64.deb(or the ARM64 package). - Other Linux: use the static
linux_amd64orlinux_arm64archive after verifying its checksum. - Run
beforeup check -f compose.yamlorbeforeup compare -f compose.yaml.
Requirements and limitations
Docker CLI with Compose v2, the Linux ss command, and permission to inspect the target Docker Engine. BeforeUp never performs up, down, build, pull or Docker cleanup. A successful preflight does not guarantee successful deployment or application health.
Rootless writable binds, Docker Desktop for Linux, SELinux-enforcing hosts, some dual-stack setups, replicated services and ARM64 real-device installation are not independently qualified. See docs/platform-support.md for exactly what was tested. The ARM64 package is cross-built, not install-tested on ARM64 hardware.
Validation: 57 Go tests, race checks, a 14-case Compose matrix, a disposable real Docker comparison, package install/remove on Debian 13 and Ubuntu 24.04/26.04, and executable startup across ten Linux distribution images. The last two do not imply full Docker Engine compatibility on those distributions.
BeforeUp 0.4.3 preview 1
BeforeUp 0.4.3 preview — quality audit and focused correctness fixes.
Fixes:
- BUILD_CONTEXT_INVALID warns when an existing local build context is a file, not a directory.
- Added/removed published-port findings have deterministic ordering in text and JSON output.
- PORT_OWNERS_UNKNOWN warns when Docker cannot inspect published-port ownership. BeforeUp no longer claims ports are clear merely because ss shows no listener.
- Regression from the interrupted review is now part of build_test.go, not a stranded review artifact.
- Python cache files are ignored; changelog and platform documentation updated.
Broader audit:
- Reviewed CLI behavior, Docker command boundaries, report redaction, deterministic output, module/dependency structure, packaging/test scripts and documentation.
- 57 Go tests, repeated deterministic-order checks, race detector, vet, make check, Go module verification and Docker Compose integration all passed.
- 14 reproducible Docker Compose cases passed and a read-only comparison against an existing Docker service returned no blockers.
- All tracked shell scripts passed POSIX sh syntax validation; Python fixture source passed parsing.
- Source documentation passed strict prose checks with zero warnings; Go statement coverage is 83.1%.
- AMD64 and ARM64 static Linux archives and .deb packages built; AMD64 .deb installed and removed on Debian 13 and Ubuntu 24.04/26.04.
This is a preview, not universal certification. Real Docker Desktop Linux, SELinux enforcing, rootless application write paths, IPv6 configurations beyond tested cases and native ARM64 package installation remain outside verified scope.
BeforeUp 0.4.2 preview 1
BeforeUp 0.4.2 preview adds a focused preflight check validated against representative Docker Compose projects.
New diagnostic:
- BUILD_CONTEXT_MISSING warns when a local Compose build directory does not exist, even when docker compose config -q accepts the YAML. It never prints the path and does not mistake remote Git contexts for local directories. Missing directories are warnings, not guaranteed deployment failures.
Real-world QA:
- Checked six published docker/awesome-compose configurations: WordPress/MariaDB, PostgreSQL/pgAdmin, NGINX/Node.js/Redis, Prometheus/Grafana, Gitea/PostgreSQL and Nextcloud/Redis/MariaDB. All six passed native Compose validation and completed BeforeUp host checks. These were tested without their sibling directories or starting the applications; missing local build/mount directories in those isolated copies are expected.
- Started one disposable Alpine Docker Compose service with no network or published ports and a read-only root filesystem. BeforeUp first reported RUNNING_MATCH, then correctly identified ENV_CHANGED and MOUNT_SOURCE_CHANGED after editing its proposed Compose file. It did not print private host paths. The temporary container was removed.
- Validated a denied non-root application bind-mount write and a permitted root write in an isolated test directory using conventional Docker Engine.
- Tried a separate rootless Docker Engine. Engine metadata checks worked, but rootless application containers could not start because this VPS session lacks the necessary AppArmor and cgroup access. Rootless write behavior remains unverified; no host policy was changed.
Gates: 54 Go tests, Go race and vet, real Docker Compose integration, 14 synthetic Compose cases, Debian AMD64 install/remove on Debian 13 and Ubuntu 24.04/26.04. Linux amd64/arm64 archives and Debian packages include SHA256SUMS. Downloaded release files are checked separately after publication.
This remains an early preview. Docker Desktop for Linux and SELinux-enforcing runtime testing, full rootless container writes and real ARM64 device installation are still outside the verified scope.
BeforeUp 0.4.1 preview 1
BeforeUp 0.4.1 preview improves comparison reliability and keeps the project small.
Corrections:
- Report running services that are absent from the proposed Compose project even when those old services have multiple replicas.
- Recognize scaled services before attempting Docker inspect, so one unsupported service does not prevent the rest of the stack from being compared.
- Stop printing mount target paths in reports; Compose interpolation could otherwise expose sensitive values.
- Summarize changed and removed data mounts by count and service instead of emitting several indistinguishable warnings.
- Make orphan findings stable in order for machine-readable output.
Maintenance:
- The roadmap now covers unfinished work only. Released features remain in CHANGELOG.md.
- make check is read-only and verifies gofmt, Go vet and unit tests. Formatting is an explicit make fmt action.
- No new runtime dependencies, background processes or extra packaging formats.
Verification:
- 51 Go tests, Go vet, race testing and Docker Compose integration.
- A 14-case Compose configuration regression matrix.
- A real isolated three-container test reproduced the scaled-orphan scenario; all test containers were removed.
- Linux AMD64 Debian package installed, executed and uninstalled on Debian 13, Ubuntu 24.04 and Ubuntu 26.04.
- Both static Linux tarballs and AMD64/ARM64 .deb files include SHA256SUMS.
This remains a preview. Independent user testing, full rootless container write tests, SELinux and Docker Desktop integration, and real ARM64 package installation are still pending.
BeforeUp 0.4.0 preview 1
BeforeUp 0.4.0 preview improves the reliability of Docker Compose host diagnostics and adds optional CI strictness.
Changes:
- Docker Desktop on Linux: detect the VM-backed daemon and skip workstation-side socket, mount and disk checks that cannot reliably describe the VM. Running-container metadata comparison remains available.
- Rootless Docker: warn about potentially restricted host ports and bind-source permissions that cannot be proven from path existence alone. Respect the host's unprivileged-port threshold where available.
- IPv6/IPv4: distinguish definite duplicate host-port bindings from cross-family wildcard overlap whose behavior depends on the host's networking configuration.
- --strict: return a nonzero exit code on warnings for CI, without changing finding severities.
- Visual: subtle transparent rounded corners on the README banner.
- Docs: practical rootless, Docker Desktop and CI guidance, with scope and limitations stated.
Verification on the maintainer's Debian 13 host:
- 46 Go tests, full integration tests, race checks and static vet.
- 14 synthetic Compose cases, including a regression for two services publishing the same default host port.
- Temporary IPv6 loopback listener and cross-family Docker Compose configuration/dry-run cases.
- An isolated, unprivileged rootless Docker Engine with read-only BeforeUp checks; no rootless application container was launched. The isolated daemon was stopped and removed.
- Linux amd64 and arm64 archives and .deb packages; amd64 .deb install, execution and removal on Debian 13, Ubuntu 24.04 and Ubuntu 26.04.
- SHA-256 release artifacts validated after publication.
Limitations: Docker Desktop Linux itself and an SELinux-enforcing host were not available for live integration tests. Real rootless bind-mount write access and privileged-port publication remain untested. ARM64 packaging was compiled, but not installed on real ARM64 hardware. This is a preview, not a guarantee of successful deployment.
BeforeUp 0.3.3 preview 1
BeforeUp 0.3.3 preview fixes an important running-stack comparison limitation.
When multiple running containers belong to one Compose service, BeforeUp now reports REPLICAS_UNSUPPORTED for that service while continuing to compare unrelated services. It no longer abandons the whole comparison or claims that a partially checked stack has no changes.
Verification:
- 37 Go tests, including two failing-before-fix replica regressions.
- Read-only Docker Compose integration and race tests.
- Three disposable, network-isolated Docker containers (two workers plus one independent service) verified partial comparison; all were removed.
- 14 reproducible Compose configuration cases.
- Debian package installation/removal on Debian 13 and Ubuntu 24.04/26.04.
The README now includes the project's purple banner. The image is a small, optimized static asset, and no additional unused logo variants were included.
Archives and Debian packages are provided for Linux amd64 and arm64 with checksums. Real ARM64 installs, Docker rootless, SELinux and full per-replica comparison remain outside the verified scope.
BeforeUp 0.3.2 preview 2
BeforeUp 0.3.2 preview 2 adds native Debian packages and a reproducible Linux binary portability matrix.
Assets:
- Static Linux amd64 and arm64 tarballs.
- Native Debian packages for amd64 and arm64 (no install scripts, services or automatic permission changes).
- SHA256SUMS covering the exact downloadable filenames.
Validation:
- Static Linux/amd64 binary executed on ten distribution OCI base images.
- AMD64 Debian package installed, ran and was removed on Debian 13, Ubuntu 24.04 and Ubuntu 26.04.
- 35 Go tests, race coverage, Docker Compose integration and 14 synthetic Compose cases.
- SHA-256 checksums verified after GitHub download.
The Debian control Version uses 0.3.2~preview2, while release filenames use 0.3.2.preview2 to avoid GitHub filename rewriting. This is intentional.
Only executable startup was tested across the ten distributions; rootless Docker, SELinux and full Docker integration outside the maintainer's Debian Engine remain unverified. ARM64 packages were built and inspected, not installed on an ARM64 host. See docs/platform-support.md.