apple / apple/container

[Request]: implement --iidfile <file> Write the image ID to the file

Open
#1,998 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
49.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
22

Description

### Feature or enhancement request details

Would be very useful to have support for `container build --iidfile FILE`, as `docker` and `podman` has.
```
--iidfile Write the image ID to the file
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start at the `container build` command's option parsing and inspect how the built image ID is currently exposed. Implement support for `--iidfile FILE` so the image ID is written to the requested file, then run the existing build CLI tests and verify the file content.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.