Skip to content

Releases

Hardened Container Stack v0.1.0

Choose a tag to compare

@soroushneyestani soroushneyestani released this 26 Nov 21:41
Immutable release. Only release title and notes can be modified.

Hardened Container Stack v0.1.0

This source release demonstrates a stateless Go 1.27.4 HTTP service packaged in a Linux/amd64 scratch image. Docker Compose publishes the application on IPv4 loopback and runs it with explicit privilege, filesystem and resource controls.

Source commit cc8b35043682bc582404eb5fa527fe6ef6b56d6d. The attached 42-file ZIP was verified against that commit. SHA-256 cfde0644810d96785f6cf70ef3de6e6a89ec03ef656800f62c0515145d6da259. The tagged source includes the MIT License, Go license notice, third-party notices and the complete build and test suite.

Public verification

  • Main passed 32 Go test cases, Dockerfile and Compose validation, isolated container checks, Gitleaks, vulnerability scanning and exact source ZIP verification. Public CI

    • Ubuntu 24.04, Docker Engine 28.0.4, Compose 2.38.2, and github.com/docker/buildx v0.39.1 334b63fe2bb0f0e89a8fd067704a0d113f57ec25. The workflow evidence records the BuildKit version, kernel, pinned base manifest and exact commands.
    • Two fresh builds matched image ID sha256:82deac1f09a1a13d8f25d47db5e85f341f4e98f92089efb4fe3c68832c1c05cd, filesystem layer digests and two-file inventory. The runtime image measured 7,209,084 bytes in 2 layers. The same-binary baseline measured 1,060,885,774 bytes in 13 layers. Docker reported a difference of 1,053,676,690 bytes (99.32%).
    • Trivy 0.76.2 scanned that runtime image at 2026-11-26T17:25:54.618476+00:00 using database update 2026-11-26T13:14:47.38824716Z. Go standard-library inventory was present. Findings by severity were UNKNOWN 0, LOW 0, MEDIUM 0, HIGH 0, CRITICAL 0. The severity gate passed. Machine-readable results are available in the workflow artifacts.
  • Release tag passed 32 Go test cases, Dockerfile and Compose validation, isolated container checks, Gitleaks, vulnerability scanning and exact source ZIP verification. Public CI

    • Ubuntu 24.04, Docker Engine 28.0.4, Compose 2.38.2, and github.com/docker/buildx v0.39.0 360040a78d6113dc84e5d4dcdf0f438e1be7a41f. The workflow evidence records the BuildKit version, kernel, pinned base manifest and exact commands.
    • Two fresh builds matched image ID sha256:82deac1f09a1a13d8f25d47db5e85f341f4e98f92089efb4fe3c68832c1c05cd, filesystem layer digests and two-file inventory. The runtime image measured 7,209,084 bytes in 2 layers. The same-binary baseline measured 1,060,885,774 bytes in 13 layers. Docker reported a difference of 1,053,676,690 bytes (99.32%).
    • Trivy 0.76.2 scanned that runtime image at 2026-11-26T17:30:41.563357+00:00 using database update 2026-11-26T13:14:47.38824716Z. Go standard-library inventory was present. Findings by severity were UNKNOWN 0, LOW 0, MEDIUM 0, HIGH 0, CRITICAL 0. The severity gate passed. Machine-readable results are available in the workflow artifacts.

Both runs observed UID/GID 65532, zero effective, permitted and bounding capabilities, no-new-privileges, seccomp filtering, and no Docker socket, host mounts or privileged devices. Opening the application-owned marker for write failed on the read-only root and succeeded in the disconnected writable-root control. Cgroup v2 exposed 64 MiB RAM, 0.5 CPU and 64 PIDs. Health changed from healthy to unhealthy and recovered on the same process with no restart count increase. Graceful stop exited with code 0 and an explicit start restored both HTTP endpoints.

The public main ruleset (28181961) requires pull requests, the successful Ubuntu container and source verification check, and resolved conversations. The release tag ruleset (28181963) blocks updates and deletions. Repository rules

Limits

The workload is an educational local HTTP service without authentication, TLS, a database or persistence. The container evidence applies to the tested Linux/amd64 environment. Native Windows Go checks cover the application and leave Windows Docker runtime compatibility unverified. Non-root application execution and a read-only root are distinct controls within the trusted host-kernel and Docker daemon boundary. Docker's default bridge can provide outbound access.

Trivy coverage depends on supported artifacts and known advisories. The scratch image still embeds the Go runtime and standard library. Local Docker image IDs and layer digests characterize the recorded build setup, and the reported size difference uses Docker's logical size metric for the two configurations.