Skip to content

feat(environment): add Apple Container provider#4

Open
spachava753 wants to merge 1 commit into
mainfrom
feat/apple-container-provider
Open

feat(environment): add Apple Container provider#4
spachava753 wants to merge 1 commit into
mainfrom
feat/apple-container-provider

Conversation

@spachava753

Copy link
Copy Markdown
Owner

Summary

Add support for Apple's Container project as a new environment type, enabling macOS-native containerization as an alternative to Docker.

Changes

  • New internal/environment/apple/ package with Provider and Environment implementations
  • File transfer via tar piping (Apple Container lacks cp equivalent)
  • Auto-detection of runtime UID/GID from container inspection
  • Integration with orchestrator for type: apple configuration
  • Unit tests for helpers and integration tests (skipped if CLI unavailable)
  • Example job config at testdata/job-apple.yaml

Configuration

environment:
  type: apple
  provider_config:
    runtime_user: "1000"   # optional
    runtime_group: "1000"  # optional

Requirements

  • macOS only
  • Apple Container CLI (brew install container)

Closes #3

Add support for Apple's Container project as a new environment type, enabling macOS-native containerization as an alternative to Docker. This addresses the need for a lightweight, VM-isolated container runtime optimized for Apple Silicon.

The provider implements file transfer via tar piping since Apple Container lacks a cp equivalent, and auto-detects runtime UID/GID from container inspection with configurable overrides.

Closes #3
@spachava753 spachava753 force-pushed the feat/apple-container-provider branch from 19811e2 to ce05220 Compare January 10, 2026 23:45
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.

feat: Add Apple Container environment type

1 participant