Skip to content

Apple container - #3

Merged
gouttegd merged 4 commits into
mainfrom
apple-container
Sep 28, 2026
Merged

gouttegd merged 4 commits into
mainfrom
apple-container

Conversation

@gouttegd

@gouttegd gouttegd commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

This PR adds a new backend, selected with the --apple option, that relies on Apple’s container command to create and run a container from a Docker image.

This is quite straightforward as the container run command has been expressly designed to have the same interface as Docker’s docker run command.

Still unclear: Can we forward a SSH socket into the container?

closes #2

gouttegd and others added 4 commits September 28, 2026 19:20
Move all the code that assembles the command line to invoke the `docker`
command into a separate public function.

This will allow to reuse that function from other backends that are
reusing the same command line interface as the `docker` command.
Add a new backend that relies on Apple's `container` command to create
and run a container from a Docker image.

closes #1
When printing the help message, do not show options corresponding to
backends that are not available on the current system.
The Apple Container backend should not assume that the entire physical
memory is available to the containers. It should instead query the
container service to obtain whatever value the service is configured to
use.
@gouttegd
gouttegd merged commit d25b1b4 into main Sep 28, 2026
3 checks passed
@gouttegd
gouttegd deleted the apple-container branch September 28, 2026 20:29
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.

Add support for Apple’s own container solution

1 participant