Skip to content

Docker running inside a macOS instance via Virtualization.framework on Apple Silicon and nesting containers? #6432

Description

@ylluminate
  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics

I have found it essential to provide some sandboxed developer environments for our organization and in the process discovered the need to run Docker on a macOS 12 instance inside Apple's Virtualization.framework on Apple Silicon. This amounts to nested virtualization, but currently Apple Silicon arm64 does NOT support nested virtualization.

It would be useful if Docker did not simply disallow running on macOS inside of a Virtualization.framework instance and instead offered the option to use qemu for executing non-macOS containers/operating systems.

This would perform relatively acceptably for doing many tasks and containers.

I am currently not seeing any way to do this, so I suspect that this is a feature request. Any information or discussion would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions