0.11.0
Added
- Set default CPUs and memory for regular containers via system properties
- Set default CPUs and memory for builder via system properties
- Add CONTAINER_DEFAULT_PLATFORM environment variable for default image platform selection
- Make container export write an OCI layout tar file for a stopped container
- Build using Dockerfile-specific ignore files
- Build using secrets
- Add mtu network attachment option
- Add rootfs override
- Add plugin resources
Changed
- Update builder API to use grpc-swift-2
- Allow "." in volumes
- Stop and delete should error on not found containers
- Extend signal handling scope to cover the unpack phase during build
Fixed
- Fix container lifecycle-related hangs
- Fix ARG parsing bugs
- Fix container start hang on invalid executable
- Fix race condition on SandboxService.waiters
- Fix docker ignore
Highlights
⌨️ denotes breaking CLI changes.
👩💻 denotes breaking API changes.
- Core
- Images
- Build
- Networking
What's Changed
- Bump containerization to 0.26.4 by @realrajaryan in https://github.com/apple/container/pull/1276
- Stabilize
testBuildNetworkAccess. by @jglogan in https://github.com/apple/container/pull/1271 - Fix container start hang on invalid executable by @JaewonHur in https://github.com/apple/container/pull/1278
- [building]: add steps for using container-builder-shim locally by @saehejkang in https://github.com/apple/container/pull/1279
- Bump Containerization to 0.26.5 by @realrajaryan in https://github.com/apple/container/pull/1282
- GH actions: do not interpolate template variables in
runblocks. by @jglogan in https://github.com/apple/container/pull/1284 - Capture container logs on failed CI runs. by @jglogan in https://github.com/apple/container/pull/1285
- Add mtu option for network attachments by @realrajaryan in https://github.com/apple/container/pull/1267
- ci: bump the github-actions group with 2 updates by @dependabot[bot] in https://github.com/apple/container/pull/1288
- Add container.cpus and container.memory system properties by @realrajaryan in https://github.com/apple/container/pull/1266
- Feat: add RegistryResource by @tico88612 in https://github.com/apple/container/pull/1195
- Fix race condition on SandboxService.waiters by @JaewonHur in https://github.com/apple/container/pull/1289
- Add build.cpus and build.memory system properties by @realrajaryan in https://github.com/apple/container/pull/1293
- Serialize network tests again by @JaewonHur in https://github.com/apple/container/pull/1294
- Move parser tests that rely on userdefault manipulation to TestCLINoP… by @realrajaryan in https://github.com/apple/container/pull/1299
- Tolerate container-builder-shim check fail by @JaewonHur in https://github.com/apple/container/pull/1297
- Give more time to DirectoryWatcherTest by @JaewonHur in https://github.com/apple/container/pull/1296
- Add fallback to CONTAINER_DEFAULT_PLATFORM for image architecture by @Willjianger9 in https://github.com/apple/container/pull/1286
- Bump to use containerization 0.27.0 by @adityaramani in https://github.com/apple/container/pull/1304
- Refactor: container export a tar archive by @tico88612 in https://github.com/apple/container/pull/1303
- Reap auto remove containers if there are running on system start by @JaewonHur in https://github.com/apple/container/pull/1290
- Remove trailing comma by @benediktjohannes in https://github.com/apple/container/pull/1315
- Update builder API to use grpc-swift-2. by @jglogan in https://github.com/apple/container/pull/1309
- Fix docker ignore by @JaewonHur in https://github.com/apple/container/pull/1273
- Add support for build secrets by @percontation in https://github.com/apple/container/pull/1300
- Remove user defaults on userdata uninstall. by @jglogan in https://github.com/apple/container/pull/1317
- [networks]: add decoder/encoder to Attachment and NetworkStatus by @saehejkang in https://github.com/apple/container/pull/1216
- Revert "Update builder API to use grpc-swift-2. (#1309)" by @egernst in https://github.com/apple/container/pull/1324
- volumes: Allow "." by @dcantah in https://github.com/apple/container/pull/1326
- Add rootfs override by @JaewonHur in https://github.com/apple/container/pull/1323
- Bump Containerization version to 0.29.0 by @adityaramani in https://github.com/apple/container/pull/1327
- Use Sendable DNS types. by @jglogan in https://github.com/apple/container/pull/1269
- make schemeFor public by @realrajaryan in https://github.com/apple/container/pull/1331
- README: Add logo by @dcantah in https://github.com/apple/container/pull/1339
- ci: bump actions/download-artifact from 8.0.0 to 8.0.1 in the github-actions group by @dependabot[bot] in https://github.com/apple/container/pull/1325
- Remove obsolete disableAllocator from network delete path by @manojmahapatra in https://github.com/apple/container/pull/1332
- Add TestCLIVersion to integration tests and fix assertions by @tico88612 in https://github.com/apple/container/pull/1312
- CLI: stop and delete should error on not found containers by @dcantah in https://github.com/apple/container/pull/878
- Fix a compilation error by @dkovba in https://github.com/apple/container/pull/1346
- Make ProcessConfiguration.User Equatable by @JaewonHur in https://github.com/apple/container/pull/1357
- Add plugin resources by @JaewonHur in https://github.com/apple/container/pull/1356
- Ensure that the bar length never exceeds the remaining width by @dkovba in https://github.com/apple/container/pull/1348
- build: extend signal handling scope to cover the unpack phase by @Otoru in https://github.com/apple/container/pull/1358
- Update builder to 0.11.0. by @jglogan in https://github.com/apple/container/pull/1369
- [build]: add tests for dockerfile arg parsing by @saehejkang in https://github.com/apple/container/pull/1342
- Don't bake DNS server into builder container config. by @jglogan in https://github.com/apple/container/pull/1370
- Add TestCLIStatus to integration tests and fix assertions by @tico88612 in https://github.com/apple/container/pull/1368
New Contributors
- @Willjianger9 made their first contribution in https://github.com/apple/container/pull/1286
- @benediktjohannes made their first contribution in https://github.com/apple/container/pull/1315
- @percontation made their first contribution in https://github.com/apple/container/pull/1300
- @Otoru made their first contribution in https://github.com/apple/container/pull/1358
Full Changelog: https://github.com/apple/container/compare/0.10.0...0.11.0