-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add LXD VM support #363
base: master
Are you sure you want to change the base?
Add LXD VM support #363
Conversation
This has been making me very happy so far. Worth updating my OSX to Ventura for. One thing to note, unless I missed a Trellis-cli upgrade, |
Thank you @swalkinshaw for this promising feature ! Byebye Virtual Box :) I gave a try and I had to set the container as a privileged container so it can map 1000 uid to start it :
Now the container starts, but another issue is I didn't get an IPV4 for it, this is maybe due to my host config or something. If it is the case, I will try later on another machine.
Also, what are the next steps in bringing this feature towards release ? I am not a go developer but I can help you test and debug |
Thanks for testing this out @alex-galey. My memory isn't fresh on this, but I definitely ran into the uid mapping and maybe the networking one too. Basically it started to get a bit complicated and I had enough things to improve for Lima at the time so I just left this. And then I haven't had as much time to devote to Trellis. Does the IP listed from |
My pleasure, I also fiddled around with lxd a couple of years back and was able to use lxc for local development with Trellis at that time. My reference thread was this one. I cannot connect to the container with this IP (it is the bridge IP btw, not the container IP which only has a ipv6) :
The user has been created and the public ssh key has been copied properly here :
I am running this in a Xen environment and this could cause the network issue, I will try this elsewhere in some time. |
Follow-up to #346 which adds Linux VM support via LXD