Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Does Lima work with Vagrant? (Is there a Vagrant Provider for Lima?) #1271

techieshark started this conversation in General
Discussion options

Given that VirtualBox doesn't work on M1 Macs anymore, and Lima seems like a good Docker alternative that is performant & open source, I'm looking into Lima.

But previously I had used VirtualBox configured by Vagrant (with Trellis) and I'm wondering if I can have Vagrant set up / control Lima the same way it can for VirtualBox or Docker.

So: does anyone know if there is a Vagrant Provider for Lima?

I see it's possible to create a Custom Provider for Vagrant, but I thought I'd check if anyone has already done such a thing for Lima.

You must be logged in to vote

Replies: 2 comments 3 replies

Comment options

I have mostly translated my old Vagrantfile (ruby) into Lima (yaml), but it sounds like a good addition...

There are some old warts like the "known ssh key" (instead of cloud-init), but I guess that it should work ?

Perhaps it would make more sense to look towards Vagrant3 ? (since it is using Go, rather than Ruby)

https://www.hashicorp.com/blog/toward-vagrant-3-0

You must be logged in to vote
0 replies
Comment options

I'm interested in either a provider or better documentation on mimicking Vagrant with Lima (or Colima), as the vagrant-go rewrite was just announced as dead.

You must be logged in to vote
3 replies
Comment options

On the other hand, VirtualBox now also works on ARM Macs (since 7.1). So there is probably no need for a vagrant provider, but documentation could be good.

Comment options

Using VirtualBox can expose you to the whims of Oracle. A few years ago they sent out threatening legal notices to enterprises, claiming software license violations to scare companies into paying for the open source software. The fine print involved Oracle's proprietary "Extension Pack", whether installed or not. VirtualBox itself is free and open under the GPLv3 license, allowing modification and distribution. It was originally created by InnoTek Systemberatung GmbH, acquired by Sun Microsystems in 2008, and in turn acquired by Oracle in 2010.

Alternatives to the commercial providers Oracle, VMware, and Parallels would certainly be welcome. It would combine the automation capabilities of vagrant with the speed of lima.

Comment options

Vagrant is not Open Source anymore (since version 2.3.7), but there were some attempts to document "Lima" vs "Vagrant" mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /