Skip to content

Current limitations

Known limitations and future enhancements:

  • Framework detection — Static heuristics cannot infer every dynamic factory or entrypoint; configure ambiguous projects explicitly
  • SBOM scope — Python distributions staged by pycontainer; does not scan host or base-image packages
  • System packages — Verification is advisory; installing apt/apk packages is not available. See system packages.
  • Registry access — HTTPS by default; plain HTTP requires per-host opt-in. Docker credsStore/credHelpers are not read
  • Windows images — Not supported. Any build target whose OS is windows (any case or architecture, alone or in a multi-platform list, from CLI, TOML, build arguments, dev-loop commands or a mutated BuildConfig) fails with Windows image build targets are not supported before cache, history, base pulls, output writes or push. Linux images can still be built on Windows hosts, and pycontainer validate image still inspects existing Windows layouts. See #247, #145 and #47.

Multi-platform base images select an exact OS/architecture/variant match. If the platform omits a variant, the image must have one unambiguous match; otherwise specify it explicitly. Missing targets and inconsistent image metadata fail before base layers are downloaded. Base-image references may include a registry port or an immutable @sha256:... digest. Platform selection writes target metadata; it does not cross-compile dependencies.

Multi-platform image indexes (--platform linux/amd64,linux/arm64,linux/arm/v7 or TOML platform = "linux/amd64,linux/arm64") accept only linux/amd64, linux/arm64 and linux/arm/v7; other targets, including linux/arm without a variant, are rejected. linux/arm/v7 selects the exact arm/v7 base manifest (never v5 or v6) and records variant: v7 in the image config and index descriptor. Its dependencies install only as armv7l wheels (manylinux2014_armv7l or musllinux_1_2_armv7l, the same libc floor as the other targets). Many packages do not publish armv7l wheels; such builds fail explicitly, and source builds or host binaries are never used as a fallback. Each platform is built in isolation: it selects its own base manifest, stages its own wheel-only dependency layer, and shares the byte-identical application layer (its cache key needs no platform input; dependency layers are never cached). Virtualenv closure is verified separately against each target base. Explicit dependencies and detected lockfiles take precedence over virtualenvs; otherwise, exclude a virtualenv (for example, --exclude .venv) to select requirements.txt. The output index.json and tag refs point at the image index only after every platform manifest, config, platform field and DiffID has been verified; a failed platform leaves earlier tags untouched. A local oci: base must keep the same layout index.json for every platform and until publication; a change fails the build instead of mixing base versions. A registry base tag is read once: every platform selects from that first verified base index or manifest snapshot and fetches its platform manifest by descriptor digest, so a tag that moves mid-build cannot mix snapshots. The snapshot must match a sha256: or sha512: Docker-Content-Digest header; a mismatch fails. An unrecognized header algorithm cannot be verified: it is kept as an opaque value, the first snapshot is still reused for every platform, and the tag is not treated as verified provenance for libc or Python version inference. If a pinned platform manifest can no longer be fetched, the build fails before the layout index.json or refs are written (a reused output directory may still contain an earlier build’s index). Push uploads blobs, then platform manifests and the index by digest, and moves tags last. Registry v2 has no atomic multi-tag update: tags are pushed one at a time, so if a later tag fails, earlier tags in the same push may already point at the new index. On a tag push error, the exception lists confirmed pushes, the failed or unknown-outcome reference, and references not attempted, even with --no-progress. builder.pushed_refs contains only confirmed successes from the current index push; no rollback is attempted. SBOM generation is not yet supported for index builds. A local single-platform docker-archive: base cannot satisfy an index build. Lockfile, requirements and transitive dependency markers are evaluated separately for each target, and unknown target marker values fail the build. Hermetic layout and protocol checks do not prove that images start. The optional scripts/check_runtime_image.py --multi-platform-index check builds an index, imports its native target with Skopeo, and starts it; see runtime testing.