Commit Graph
46 Commits
Author SHA1 Message Date
The Alchemist 91db40d99c Update README.md with minor correction (#50)
Not to be pedantic, but "light weight" is usually considered to be one
word.
2025-06-09 15:29:42 -07:00
J Logan 4981faadef Adds base path for GitHub Pages publishing. (#48) 2025-06-09 15:07:50 -07:00
Danny Canter 66e991ac05 Clarify source stability (#45) 2025-06-09 11:38:25 -07:00
J Logan 56c06be9a9 Fine-tune build requirements. (#44) 2025-06-09 10:49:37 -07:00
Madhu Venugopalandmadhu a595d0cca5 Updating latest macOS and Xcode versions (#43)
Co-authored-by: madhu <mvenugopal@apple.com>
2025-06-09 10:40:43 -07:00
Eric Ernst eade0a7a4d docs: add a baseline contributors.txt (#42)
Add initial contributors.txt for the project
2025-06-09 09:42:57 -07:00
Eric Ernst 8d094935af README: split prep, build and test directions into own sections (#41)
If we split this out, it'll be easier to point developers at specific
parts for setting up their build environment, versus building and
testing.

Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2025-06-08 22:31:32 -07:00
J Logan e285dc0dd4 Set MTU to 1280 for containers. (#38)
- Needed for alpine containers in some instances.
- This should be configurable. Hardcoding in linkSet for now.
2025-06-08 21:02:23 -07:00
Eric Ernst 3fd2c220a2 docs: update version description (#40)
Let's just be consistent and use 15 instead of Sequoia
2025-06-08 17:51:53 -07:00
Eric Ernst 52072340f2 docs: drop contributors.txt (#39)
We'll have authors in original commit, and we don't need this to start.
2025-06-08 16:26:42 -07:00
Kathryn Baldauf 0338c07283 Only allow docs publish on tags or release branches (#32)
Matches same changes on container
https://github.com/apple/container/pull/30

Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
2025-06-08 10:12:38 -07:00
Madhu Venugopalandmadhu b222b947bc Fixed typo in Contributors file (#37)
Co-authored-by: madhu <mvenugopal@apple.com>
2025-06-08 10:10:32 -07:00
Danny Canter 117324e300 Integration: Add a multi-exec output test (#34)
Add a test similar to the concurrent exec test, except supply stdout.

Signed-off-by: Danny Canter <danny_canter@apple.com>
2025-06-08 02:07:51 -07:00
Danny Canter fef518e1c3 LinuxProcess: Resource adjustments (#33)
- The kqueue handlers for stdio didn't have logic to exit on zero byte
reads.
- The agent wasn't getting closed explicitly in .delete()
- In LinuxContainer we should call delete just for sanity, if for
nothing more than ensuring the agent vsock fd is closed.

Signed-off-by: Danny Canter <danny_canter@apple.com>
2025-06-08 02:07:23 -07:00
Aditya Ramani 0bd526053c Add executable name to exec error (#36)
Signed-off-by: Aditya Ramani <a_ramani@apple.com>
2025-06-07 22:47:45 -07:00
Madhu Venugopal 9c1b08d3e7 Update README.md (#35)
Fixed minor typo
2025-06-07 12:13:42 -07:00
Paris 39f5d05bff Update CONTRIBUTORS.txt (#31)
adding GH handles
2025-06-06 21:46:08 -07:00
Aditya Ramani 5f29918ecb Add docs for ContainerizationArchive (#28)
Also removes some dead code.

Signed-off-by: Aditya Ramani <a_ramani@apple.com>
2025-06-06 16:29:11 -07:00
Michael Crosby 9959810656 separate fetch-default-kernel make target (#27)
Signed-off-by: michael crosby <michael_crosby@apple.com>
2025-06-06 15:05:24 -07:00
Dmitry Kovba 8013608979 Resolve a compilation error and warnings in make test (#29) 2025-06-06 14:41:41 -07:00
Patrice Jaton ca3c94a0b6 Update documentations. (#26)
Some updates to the documentation:

* Replace code-of-conduct with organization one.
* Cleanup `CONTRIBUTING.md`, `README.md` and `SECURITY.md` markdown.
* Remove `.txt` extension from `LICENSE` for consistency across repos.
2025-06-06 10:52:03 -07:00
Danny Canter fc4a124173 Continue documenting public surface (#25)
Signed-off-by: Danny Canter <danny_canter@apple.com>
2025-06-06 10:34:19 -04:00
Kathryn Baldauf 46260fd6a6 Move permissions in release and add id-token (#24)
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
2025-06-05 20:28:08 -07:00
Joseph Heck 19778a2bf3 community file updates (#23)
community file updates
2025-06-05 16:16:48 -07:00
Dmitry Kovba 4eba0fa572 Add documentation for netlink (#21) 2025-06-05 16:16:47 -07:00
Danny Canter 9ac3874008 UnixSocketConfiguration: Change from/to to source/destination (#22)
This is something I forgot to update ages ago. The field names, while
they do make sense, were different than the constructor names that
eventually set the fields themselves. This is kind of awkward, and I'd
much rather fix this now while it's much easier.

We'll need to update `container` after this

Signed-off-by: Danny Canter <danny_canter@apple.com>
2025-06-05 16:16:45 -07:00
Michael Crosby 3d5b3404df add rotating allocator for UInt32 (#11)
This creates an allocator based on a FIFO that will allocate through the
range before reusing previously released allocations.

Signed-off-by: michael crosby <michael_crosby@apple.com>
2025-06-05 16:16:43 -07:00
Aditya Ramani c2e22192d4 Fix compiler warning in LocalOCILayoutClient (#19)
Resolves the warning
```
LocalOCILayoutClient.swift:87:37: warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure
 87 |             for try await buffer in input {
    |                                     `- warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure
 88 |                 wrote += buffer.readableBytes
 89 |                 try buffer.withUnsafeReadableBytes { pointer in
```

Signed-off-by: Aditya Ramani <a_ramani@apple.com>
2025-06-05 16:16:32 -07:00
Kathryn Baldauf 8ecbd124e3 Fix refs parsing in gh action (#20)
Remove erroneous quotes when checking for wildcard match in GitHub
action

Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
2025-06-05 16:16:22 -07:00
Danny Canter f49f668936 Updates to license headers (#17)
- Capitalize containerization.
- Wrap "All rights reserved" to a new line.

Signed-off-by: Danny Canter <danny_canter@apple.com>
2025-06-05 16:16:22 -07:00
Kathryn Baldauf 816a959ada Add id token for deploying docs (#18)
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
2025-06-05 16:16:21 -07:00
Sidhartha Mani 1aba17e0d0 EXT4Reader documentation update (#16)
Signed-off-by: Sidhartha Mani <sidhartha_mani@apple.com>
2025-06-05 16:16:20 -07:00
Eric Ernst 4a736c8b8b Add module description for ContainerizationEXT4 (#14)
Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2025-06-05 16:16:19 -07:00
Kathryn Baldauf 5624a8397e Add branch protection to the test image build pipeline (#15)
This adds branch protection to the workflow for building container test
images. This PR additionally moves the permissions for docs deploying to
be job level.

Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
2025-06-05 16:16:19 -07:00
Danny Canter 6bc4bf5124 Source code documentation updates (#9)
This change adds documentation to quite a few existing public types that
didn't have a blurb before.

Additionally, this fixes a couple things that I think either didn't make
sense when going to document them:
- Rename ConnectionStream to VsockConnectionStream. This type only
functions for vsock connections.
- Deletes NsLock+Closure. This was not used anywhere.
- Rename ContainerizationOCI/Config.swift to ImageConfig.swift.

Signed-off-by: Danny Canter <danny_canter@apple.com>
2025-06-05 16:16:18 -07:00
Kathryn Baldauf 8d880efc36 Remove extra source tar from release (#13)
A release is made by default with sources in a tar and zip (example
[here](https://github.com/apple/containerization/releases/tag/untagged-a4e930d3152ef58348f1))
so we can remove this extra tar

Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
2025-06-05 16:16:17 -07:00
dkovba 673b905b1c Update swift-docc-plugin to fix a non-sendable warning (#12)
This PR resolves warnings:
```
…/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:106:17: warning: capture of non-sendable type 'Target.Type' in an isolated closure
104 |             // Copy the closure and the target into a block operation object
105 |             let new = BlockOperation { [work, task] in
106 |                 work(task)
    |                 `- warning: capture of non-sendable type 'Target.Type' in an isolated closure
107 |             }
108 |             operationsByID[task.id] = new

…/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SwiftDocCPluginUtilities/BuildGraph/DocumentationBuildGraph.swift:105:41: warning: capture of non-sendable type 'Target.Type' in an isolated closure
103 |             }
104 |             // Copy the closure and the target into a block operation object
105 |             let new = BlockOperation { [work, task] in
    |                                         `- warning: capture of non-sendable type 'Target.Type' in an isolated closure
106 |                 work(task)
107 |             }
```
2025-06-05 16:16:16 -07:00
Eric Ernst fc747e4d83 docs: add more detail for PR expectations (#10)
Make sure we describe the project's merge strategy and expectations for
pull requests.

Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2025-06-05 16:16:16 -07:00
Danny Canter 782e37c96f README: Reword beginning of Design section (#7)
The first intro sentences don't read very well. This just tries
to create a cohesive section describing the core design.

Signed-off-by: Danny Canter <danny_canter@apple.com>
2025-06-05 16:16:15 -07:00
Danny Canter 6faac93d49 ContainerizationOS: Remove RWLock (#8)
We don't use this anywhere anymore.

Signed-off-by: Danny Canter <danny_canter@apple.com>
2025-06-05 16:16:14 -07:00
Kathryn Baldauf a76742e379 Update docker manifest image sha (#5)
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
2025-06-05 16:16:13 -07:00
Kathryn Baldauf 502dab6108 Update containerization apple main (#4)
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
2025-06-05 16:15:44 -07:00
Kathryn Baldauf 74dd129094 Update licenses (#3)
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
2025-06-05 16:15:39 -07:00
Kathryn Baldauf 486b65864c Update hawkeye to 6.0.4 (#2)
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
2025-06-05 16:15:32 -07:00
Kathryn Baldauf 6bc739a670 Add github actions workflows (#1)
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
2025-06-05 16:15:28 -07:00
+6 3407cc3f16 initial commit
Co-authored-by: Aditya Ramani <a_ramani@apple.com>
Co-authored-by: Agam Dua <agam_dua@apple.com>
Co-authored-by: Danny Canter <danny_canter@apple.com>
Co-authored-by: Dmitry Kovba <dkovba@apple.com>
Co-authored-by: Eric Ernst <eric_ernst@apple.com>
Co-authored-by: Evan Hazlett <ehazlett@apple.com>
Co-authored-by: Gilbert Song <gilbertsong@apple.com>
Co-authored-by: Hugh Bussell <hbussell@apple.com>
Co-authored-by: John Logan <john_logan@apple.com>
Co-authored-by: Kathryn Baldauf <k_baldauf@apple.com>
Co-authored-by: Madhu Venugopal <mvenugopal@apple.com>
Co-authored-by: Michael Crosby <michael_crosby@apple.com>
Co-authored-by: Sidhartha Mani <sidhartha_mani@apple.com>
Co-authored-by: Tanweer Noor <tnoor@apple.com>
Co-authored-by: Ximena Perez Diaz <xperez528@gmail.com>
Co-authored-by: Yibo Zhuang <yzhuang@apple.com>
2025-06-05 16:15:21 -07:00