mirror of
https://github.com/apple/container.git
synced 2026-09-13 19:25:47 +00:00
Today this protocols create method is just odd. Our only implementation of it immediately casts to LinuxContainer, failing if it cannot do so. I think what might make more sense is to pass in a configuration itself with core parameters that we expect every vmm to be able to support, and then in a specific implementation they can continue to cast this type to a specific one to possibly extract some extra configuration values (rosetta for VZ for example). This rework will also make it simpler to support a Pod type, as the vm setup is identical and simple.