You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
Vagrant.configure(2) do |config|
config.vm.provider "docker" do |d|
d.build_dir = "." # Dockerfile right here
end
end
When I vagrant up, cachier bails out hard with an exception:
C:\Repos\_github\bills-kitchen\target\build\tmp\vagrocker>vagrant up
Bringing machine 'default' up with 'docker' provider...
==> default: Docker host is required. One will be created if necessary...
default: Docker host VM is already ready.
C:/Repos/_github/bills-kitchen/target/build/home/.vagrant.d/gems/gems/vagrant-cachier-1.2.0/lib/vagrant-cachier/action/configure_bucket_root.rb:44: in `cache_root': Cachier plugin only supported with docker provider when image is used (RuntimeError)
from C:/Repos/_github/bills-kitchen/target/build/home/.vagrant.d/gems/gems/vagrant-cachier-1.2.0/lib/vagrant-cachier/action/configure_bucket_root.rb:24: in `setup_buckets_folder'
from C:/Repos/_github/bills-kitchen/target/build/home/.vagrant.d/gems/gems/vagrant-cachier-1.2.0/lib/vagrant-cachier/action/configure_bucket_root.rb:16: in `call'
from C:/Repos/_github/bills-kitchen/target/build/tools/vagrant/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34: in `call'
from C:/Repos/_github/bills-kitchen/target/build/tools/vagrant/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:95: in `block in finalize_action'
from C:/Repos/_github/bills-kitchen/target/build/tools/vagrant/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34: in `call'
Well, it says clearly "Cachier plugin only supported with docker provider when image is used (RuntimeError)". Well, I didn't use image but build_dir instead.
So clearly it's my fault, but wouldn't it be possible to disable the bucket / cachier instead of throwing an exception here?
The text was updated successfully, but these errors were encountered:
Hey, sorry for the silence here but this project is looking for maintainers 😅
As per #193, I've added the ignored label and will close this issue. Thanks for the interest in the project and LMK if you want to step up and take ownership of this project on that other issue 👋
Given a Vagrantfile like this:
When I
vagrant up
, cachier bails out hard with an exception:Well, it says clearly "Cachier plugin only supported with docker provider when image is used (RuntimeError)". Well, I didn't use
image
butbuild_dir
instead.So clearly it's my fault, but wouldn't it be possible to disable the bucket / cachier instead of throwing an exception here?
The text was updated successfully, but these errors were encountered: