0.11.0

apple/container0.11.0Mar 31, 2026by ajemory

AI Summary

This release focuses on stability improvements, introducing default resource configurations via system properties and adding a new `container export` command for OCI layout tar files. It also enhances the build process with support for secrets and Dockerfile-specific ignore files, alongside various networking and lifecycle fixes.

Key Highlights

  • Fix container lifecycle-related hangs
  • Set default CPUs and memory for containers and builders via system properties
  • Add `CONTAINER_DEFAULT_PLATFORM` for default image platform selection
  • Enable `container export` to write OCI layout tar files
  • Support building with secrets and Dockerfile ignore files

New Features

  • MTU network attachment option
  • Registry resource support
  • Rootfs override capability
  • Fix ARG parsing bugs

Full Release Notes

## Highlights 

⌨️ denotes breaking CLI changes.

👩‍💻 denotes breaking API changes.

- Core 
  - [Fix container lifecycle-related hangs](https://github.com/apple/container/issues/1277)
  - [Set default CPUs and memory for regular containers via system properties](https://github.com/apple/container/issues/1260)
  - [Set default CPUs and memory for builder via system properties](https://github.com/apple/container/issues/1261)
- Images 
  - [`CONTAINER_DEFAULT_PLATFORM` for default image platform selection](https://github.com/apple/container/issues/1252)
  - [`container export` writes an OCI layout tar file for a stopped container](https://github.com/apple/container/pull/1303)
- Build
  - [Build using Dockerfile-specific ignore files](https://github.com/apple/container/issues/1169)
  - [Build using secrets](https://github.com/apple/container/pull/1300)
  - [Fix `ARG` parsing bugs](https://github.com/apple/container/issues/1295) 
- Networking 
  - [Adds `mtu` network attachment option](https://github.com/apple/container/issues/1264)

## 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 `run` blocks. 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