Hacker GitHub

← All repos

apple/container

View on GitHub ↗ ★ 51,007 Swift

A tool for creating and running Linux containers using lightweight virtual machines on a Mac. It is written in Swift, and optimized for Apple silicon.

90 mentions on Hacker News by 77 people: 8 stories, 82 comments · first 2025-06-09 · latest 2026-10-12

Mentions per year 90 mentions · busiest year 2026 (56)
20082026
  1. …darwin CLI userland). Imagine the only scriptability you get for the OS is Automator or Shortcuts, https://github.com/apple/container is at best an API at worst a GUI app and certainly not a CLI, and that's it . macOS is MacOS (pre-X). Or…
  2. and they have a first-party one now as well https://github.com/apple/container
  3. https://github.com/apple/container
  4. i know what you mean; just in case you hadn't seen this (which is recent) https://github.com/apple/container
    comment by jjtheblunt · 2026-09-22 · in M5 Ultra Mac Studio Review
  5. Apple Container is an interesting work in progress: https://github.com/apple/container
  6. There is a name collision on MacOS where MacOS also provides containers [1] [1] https://github.com/apple/container
  7. How would this be different from Apple's recently launched "container" utility? https://github.com/apple/container
    comment by pramodbiligiri · 2026-07-15 · in Ask HN: What Are You Working On? (July 2026)
  8. > It's just a linux vm running normal docker engine OCI compatible, but not docker https://github.com/apple/container/blob/main/docs/technical-... Actually makes use of Virtualization.framework mentioned above.
  9. …[3] https://developer.apple.com/documentation/virtualization [4] https://github.com/apple/container
  10. Neat, could it leverage https://github.com/apple/container
  11. …which "consumes and produces OCI-compatible container images" so if all that is true .... yes! 1) https://github.com/apple/container
    comment by natebc · 2026-07-07 · in Show HN: Davit, a Apple Containers UI
  12. …linux environment already? comment your thoughts about it. # Apple # Apple Developer GitHub repo: https://github.com/apple/container
    comment by kunalchandola · 2026-06-26
  13. …many real use cases that require native macOS not arbitrary unix. For files, use a readonly mount https://github.com/apple/container/blob/main/docs/how-to.md#... (ie. /path:ro)
    comment by contingencies · 2026-06-13 · in AI coding at home without going broke
  14. recommend converting to https://github.com/apple/container
    comment by contingencies · 2026-06-13 · in AI coding at home without going broke
  15. …Apple not helping the Linux team, why would they, or any major OEM? Apple is perfectly happy with https://github.com/apple/container
  16. ▲ 2
    Apple's Linux Container v1.0 Releases
    story by EvanZhouDev · 2026-06-10 · 0 comments
  17. …limitations (they’re looking for bug reports and contributions): “Container: Technical Overview” https://github.com/apple/container/blob/main/docs/technical-...
    comment by jt2190 · 2026-06-10 · in macOS Container Machines
  18. > Just to clarify, this requires Mac OS 26 Tahoe for "container" doesn't it? Yes’n’t: https://github.com/apple/container/blob/main/docs/technical-... > container relies on the new features and enhancements present in macOS 26. You can run…
    comment by masklinn · 2026-06-10 · in macOS Container Machines
  19. It's called a container machine but it's a virtual machine. I quote from https://github.com/apple/container/blob/main/docs/technical-... > container runs containers differently. Using the open source Containerization package, it runs a…
    comment by pmontra · 2026-06-10 · in macOS Container Machines
  20. Apple does have an OCI variant of this: https://github.com/apple/container Doesn’t seem to have Compose support though, but it’s probably not impossible to build upon. And of course, it also uses VMs, though unlike Docker, it’s one…
    comment by notpushkin · 2026-06-10 · in macOS Container Machines
  21. …implement Darwin-on-Darwin containers. People have been discussing about this for a while, see https://github.com/apple/container/discussions/611 In general I understand the rationale behind Apple's decision. They sell hardware, and…
    comment by qalmakka · 2026-06-10 · in macOS Container Machines
  22. https://github.com/apple/container/blob/main/docs/technical-... read documentation mr. rare breed
    comment by klohto · 2026-06-10 · in macOS Container Machines
  23. It's funny that the system config page ( https://github.com/apple/container/blob/main/docs/container-... ) lists pebibytes for RAM configurations... in this day and age where buying a 16GB stick for workstation would cause me to eat…
    comment by rakel_rakel · 2026-06-10 · in macOS Container Machines
  24. …/sbin/init, we use that. We'd recommend using a base image for the guest that includes systemd. ie: https://github.com/apple/container/blob/main/docs/container-...
    comment by egernst · 2026-06-10 · in macOS Container Machines
  25. …`container machine` subcommand. I went to test it out, but container failed to run at all for me: https://github.com/apple/container/issues/1681
    comment by llimllib · 2026-06-10 · in macOS Container Machines
  26. …share a common kernel? Or are they each ran in a separate VM? Edit: It's a VM per container. https://github.com/apple/container/blob/main/docs/technical-...
    comment by WatchDog · 2026-06-10 · in macOS Container Machines
  27. ▲ 1,269
    macOS Container Machines
    story by timsneath · 2026-06-10 · 437 comments
  28. ▲ 2
    Apple Container Hits 1.0
    story by frastefanini · 2026-06-09 · 0 comments
  29. …but container gives me some hope for the future that Apple cares about this experience. [0]: https://github.com/apple/container
    comment by jzelinskie · 2026-05-28 · in Using Tailscale with an OrbStack VM on macOS
  30. Sounds like https://github.com/apple/container
  31. …typical shared VM instance This (MicroVMs) is also kind of what apple's container[1] tools do. [1]: https://github.com/apple/container
  32. …development on macOS. Note: I have not used it myself as I find macOS+Brew sufficient for my tasks. https://github.com/apple/container
    comment by inventor7777 · 2026-05-07 · in I switched from Mac to a Lenovo Chromebook
  33. …I moved a project of mine from colima+docker to it relatively easily, a couple of weekends ago. https://github.com/apple/container
    comment by woadwarrior01 · 2026-05-02 · in How fast is a macOS VM, and how small could it be?
  34. …too. [1] shameful self plug: https://gigatexal.blog/pages/i-heart-my-macbook/i-heart-my-m... [2] https://github.com/apple/container
  35. This looks nice, but on mac you can virtualise really easily into microvms now with https://github.com/apple/container . I've built my own cli that runs the agent + docker compose (for the app stack) inside container for dev and it's…
    comment by te_chris · 2026-03-28 · in Go hard on agents, not on your filesystem
  36. 0 improvements is unfair https://github.com/apple/container
  37. …many issues with networking and DNS. I'm looking forward to try it again if they can get it fixed. https://github.com/apple/container/issues?q=is%3Aissue%20sta...
  38. …a GitHub comment showing someone on MacOS 26 with a `.test` domain, which you claim is broken: https://github.com/apple/container/issues/856#issuecomment-3... —- maybe you are configuring it incorrectly.
  39. …currently boot into Linux but Apple has native container support that Linux works on [1]. [1]: https://github.com/apple/container
  40. Yes; macOS has native container support for Linux [1]. [1]: https://github.com/apple/container
  41. …Linux via [0], and provides the ability to use Rosetta 2 within VMs to run legacy x86 binaries? 0: https://github.com/apple/container
  42. Thanks, hadn't heard of this! In homebrew, too. https://github.com/apple/container
  43. FYI: Apple added support for Linux containers to macOS Tahoe [1]. [1]: https://github.com/apple/container
    comment by alwillis · 2026-03-04 · in MacBook Neo
  44. …support for nested virtualization: 1. Yes, but only Linux guests 2. Yes, but only M3+ https://github.com/apple/container/issues/191
  45. Apple recently released https://github.com/apple/container , a CLI tool for running Linux containers natively on macOS with Apple Silicon. It's fast and lightweight, but it's terminal-only. I built Container GUI — a native SwiftUI app that…
  46. …does this compare to Apple container[1]? I am excited by the innovation happening in the space! 1 - https://github.com/apple/container
  47. apple containers also run on OCI images: https://github.com/apple/container?tab=readme-ov-file#contai... > The tool consumes and produces OCI-compatible container images...
  48. …in a VM issue. I haven't tested this out yet, but my expectation is this can be mitigated via https://github.com/apple/container ? I appreciate any insights here.
  49. ▲ 58
    Apple Container 0.9.0
    story by tosh · 2026-02-08 · 18 comments
  50. ▲ 1
    Apple container 0.8.0
    story by tosh · 2026-01-30 · 0 comments