-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Docker Provider driver.rb fails with block in network_defined?': undefined method
size' for nil:NilClass (NoMethodError)
#13371
Comments
I removed a number of unused unrelated containers, restarted the docker engine, and ran It looks like there's a network where |
it's the
|
Changing the condition to this allowed the command to continue: if (config && config.size > 0 && |
…e file and check for IPAM
It looks like this was found here #13339 and a similar fix was applied. I've kept my PR open as I believe the code it adds is more comprehensive and in line with the rest of the file, but glad to see 2.4.2 will resolve the issue |
It was fixed with #13339 but there was no stable release for the 3 mounts now. This really frustrates me cuz I'm forced to freeze the docker dependency and deal with internal user support that relies on this fix. |
Check if the docker config is nil, fixes #13371
When provisioning VVV using Docker as a provider it fails nearly immediately with the following error:
Debug output
https://gist.github.com/tomjn/92ed3f0dcbfb47c6c2bd6d24af2b6620
CLI output and command:
Expected behavior
I expected a container and provisioners to run
Actual behavior
A fatal error in the ruby vagrant plugin before the machine could be setup, and no new containers in Docker
Reproduction information
Vagrant version
Host operating system
MacOS 14.1.1 Arm64
Guest operating system
Ubuntu 20 Arm64
Steps to reproduce
Vagrantfile
WIP
The text was updated successfully, but these errors were encountered: