Skip to content

Implement Apple Container CLI runtime - #972

Draft
Richie Gomez (richiemsft) wants to merge 1 commit into
feature/apple-container-managementfrom
feature/apple-container-cli
Draft

Implement Apple Container CLI runtime#972
Richie Gomez (richiemsft) wants to merge 1 commit into
feature/apple-container-managementfrom
feature/apple-container-cli

Conversation

@richiemsft

@richiemsft Richie Gomez (richiemsft) commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

📖 Description

Implements PR 3 of the stacked Apple Container backend work. This adds bounded /usr/local/bin/container execution, explicit 0.8 policy validation, streaming stdio, timeout and kill handling, ownership-verified resource cleanup, kernel-lock-backed crash recovery, availability probing, and the qualified loopback-only guest-init image.

Seatbelt remains the default macOS process backend. Apple Container remains explicit and experimental, and unsupported policy fields fail closed. Samples, dedicated qualification CI, and final user documentation remain scoped to PRs 4 and 5.

🔗 References

Related PRs:

🔍 Validation

  • Exact macOS arm64 release build and test package set
  • macOS Clippy with warnings denied and Cargo formatting
  • Apple Container unit tests and ignored real-runtime streaming integration test
  • Allow, block, timeout, launch-failure, and SIGKILL recovery smoke coverage on Apple Container 1.2.2
  • Windows x64 cross-target check and Clippy for affected crates
  • Schema, generated SDK types, schema-version, and config validation gates
  • Independent adversarial review and remediation pass

✅ Checklist

  • Signed the Contributor License Agreement
  • Linked to an issue
  • Updated documentation (deferred to the dedicated stacked documentation PR)
  • Updated Copilot instructions (final architecture documentation is deferred to the dedicated stacked documentation PR)
  • If this PR changes Cargo.lock, the dependency-feed-check check passes (pending CI)

📋 Issue Type

  • Bug fix
  • Feature
  • Task

GitHub Actions runs the PR validation build automatically. The ADO pipeline (MXC-PR-Build) is the Azure version of the PR pipeline, kept in parity with the GitHub Actions build; it runs on merge to main, and Microsoft reviewers with write access can trigger it on a PR with /azp run. See docs/pull-requests.md.

If the dependency-feed-check check fails on a new dependency, the crate must be added to the feed before the PR can pass. See docs/pull-requests.md for the steps.

Microsoft Reviewers: Open in CodeFlow

Add bounded Apple Container execution, policy enforcement, ownership-verified cleanup, crash recovery, availability probing, and the qualified loopback-only init image.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: b062729b-d6f3-47f6-9df0-6c1d5c8a1e5c
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant