Hi, I’ve read through contributing.md[1] and the developer guide[2]. It looks like the recommended path might be for me to setup a linux box and use a packaged install. I typically develop on my mac, though, and I'm wondering if there's some best practices / tricks for working within darwin? Also, I work on a variety of projects and there is often a way to encapsulate the dev environment for each using vagrant or docker so the system isn't exposed to dependency cross-contamination :) Has anyone worked out something like that for their Kata work? [1] https://github.com/kata-containers/community/blob/master/CONTRIBUTING.md [2] https://github.com/kata-containers/kata-containers/blob/main/docs/Developer-... Thanks, Dan Middleton Principal Engineer Intel <https://www.intel.com/content/www/us/en/diversity/diversity-at-intel.html>
Hi Dan,
On 30 Jul 2021, at 20:08, Middleton, Dan <dan.middleton@intel.com> wrote:
Hi,
I’ve read through contributing.md[1] and the developer guide[2].
It looks like the recommended path might be for me to setup a linux box and use a packaged install. I typically develop on my mac, though, and I'm wondering if there's some best practices / tricks for working within darwin?
Also, I work on a variety of projects and there is often a way to encapsulate the dev environment for each using vagrant or docker so the system isn't exposed to dependency cross-contamination :) Has anyone worked out something like that for their Kata work?
I am also now developing on a Mac ;-) Since you can’t run Kata natively on MacOS, you’re going to end up doing nested virt, either through Docker, Vagrant or a VM. Based on this, I personally think it makes a lot more sense to run a full blown Linux VM and develop on top of it. I use Parallels and the parallels hypervisor (not the hvf one) and that seems to work fine for me. Hope this helps. Cheers. Samuel.
Thanks, Sam! I will look into using parallels. Meanwhile I did get a Nuc+Ubuntu dusted off over the weekend and got (most of) kata building. Cheers, Dan On 8/2/21, 12:28 AM, "Samuel Ortiz" <samuel.e.ortiz@protonmail.com> wrote: Hi Dan, > On 30 Jul 2021, at 20:08, Middleton, Dan <dan.middleton@intel.com> wrote: > > Hi, > > I’ve read through contributing.md[1] and the developer guide[2]. > > It looks like the recommended path might be for me to setup a linux box and use a packaged install. I typically develop on my mac, though, and I'm wondering if there's some best practices / tricks for working within darwin? > > Also, I work on a variety of projects and there is often a way to encapsulate the dev environment for each using vagrant or docker so the system isn't exposed to dependency cross-contamination :) > Has anyone worked out something like that for their Kata work? I am also now developing on a Mac ;-) Since you can’t run Kata natively on MacOS, you’re going to end up doing nested virt, either through Docker, Vagrant or a VM. Based on this, I personally think it makes a lot more sense to run a full blown Linux VM and develop on top of it. I use Parallels and the parallels hypervisor (not the hvf one) and that seems to work fine for me. Hope this helps. Cheers. Samuel.
participants (2)
-
Middleton, Dan
-
Samuel Ortiz