You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
glenux 0cc4a27f32 Update '' 1 month ago
development Download a specific version of vagrant-cachier tarball instead of master so that it can be cached properly 9 years ago
docs Add support for DNF 7 years ago
lib Yum is replaced by DNF in newer Fedora releases 7 years ago
locales Remove unused locale 9 years ago
spec/acceptance Use vagrant cloud base boxes for sanity checks 9 years ago
.gitignore Replace java cookbook usage with a simple remote_file cookbook to simplify testing 9 years ago v1.2.1 8 years ago
Gemfile Update bundle 8 years ago
Gemfile.lock v1.2.1 8 years ago
LICENSE.txt 🎆 New year 🎆 9 years ago Update '' 1 month ago
Rakefile Look ma, first public release and no specs! 10 years ago
vagrant-cachier.gemspec 💣 post install message 9 years ago

🟢 We plan to support and maintain vagrant-lxc, as well as clean it up.
🟢 Please feel free to contribute Issues and pull requests.
🟢 P.S: Thanks Fabio Rehm for the amazing initial project.


Gem Version Gitter chat

A Vagrant plugin that helps you reduce the amount of coffee you drink while waiting for boxes to be provisioned by sharing a common package cache among similar VM instances. Kinda like vagrant-apt_cache or this magical snippet but targeting multiple package managers and Linux distros.


Make sure you have Vagrant 1.4+ and run:

vagrant plugin install vagrant-cachier

Quick start

Vagrant.configure("2") do |config| = 'your-box'
  if Vagrant.has_plugin?("vagrant-cachier")
    # Configure cached packages to be shared between instances of the same base box.
    # More info on
    config.cache.scope = :box

    # OPTIONAL: If you are using VirtualBox, you might want to use that to enable
    # NFS for shared folders. This is also very useful for vagrant-libvirt if you
    # want bi-directional sync
    config.cache.synced_folder_opts = {
      type: :nfs,
      # The nolock option can be useful for an NFSv3 client that wants to avoid the
      # NLM sideband protocol. Without this option, apt-get might hang if it tries
      # to lock files needed for /var/cache/* operations. All of this can be avoided
      # by using NFSv4 everywhere. Please note that the tcp option is not the default.
      mount_options: ['rw', 'vers=3', 'tcp', 'nolock']
    # For more information please check

For more information please read the documentation available at

Providers that are known to work

Please note that as of v0.6.0 the plugin will automatically disable any previously defined configs for cloud providers


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request