Building and publishing Vagrant Boxes AUTOMATICALLY

19 views
Skip to first unread message

Jason Hsu

unread,
Jul 5, 2019, 6:21:48 PM7/5/19
to Vagrant
I've used Vagrant in the past, and I'm revisiting it.  (I like Docker better, but it has its limitations.)  I'm looking for solutions for AUTOMATICALLY building and publishing Vagrant boxes.

In the Docker world, I've used Docker Cloud's automated build system, GitLab CI, and Travis CI to build and publish Docker images.  Under these automated build solutions, I NEVER have to upload Docker images from my local machine to Docker Cloud or GitLab.  (My Internet connection is slow on the upload side.)

Are there any similar solutions for the Vagrant world?  Does Vagrant Cloud offer an automated build system analogous to the one that Docker Cloud offers?  Is there a way to create and publish Vagrant boxes with continuous integration tools?

Also, is there a way to build Vagrant boxes from INSIDE a Docker container?  If I can do this, I can get GitLab CI and Travis CI to automatically build and publish Vagrant boxes and bypass the long process of having to manually upload them.

Alvaro Miranda Aguilera

unread,
Jul 20, 2019, 12:30:12 PM7/20/19
to vagra...@googlegroups.com
hello

if you want virtualbox boxes you will need to build boxes where you can run virtualbox.

there is no service ti build boxes automatically, so you will have to do some work

you can automate much of the process with packer (packer.io)


alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/fd50779b-dbe9-4b13-b948-479364597624%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages