Help creating custom docker-desktop.iso with host kernel supporting TCP BBR

I would like to build and run a modified docker host kernel on Mac OS X that supports TCP BBR.

So far, I have:

  • Discovered github .com/linuxkit/linuxkit
  • Successfully created a custom kernel config and built the kernel
  • Discovered the docker-for-mac.md instructions.
  • Verified that my custom “docker-for-mac-efi.iso” is bootable using the example command there
  • Verified that the stock /Applications/Docker.app/Contents/Resources/linuxkit/docker-desktop.iso also boots using the same command.

However, when I replace the stock iso with the custom iso, the Docker Desktop app fails to start.

Has anyone successfully built a modified ISO kernel for docker desktop? What steps might I be missing? Is there a better reference than those linked above?

Thank you!