-
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
bash: line 4: 2412 Killed dnf -y install docker #11277
Comments
Hi there, Thanks for reporting this issue! I also noticed this in the debug logs:
This is from the step where Vagrant is trying to determine whether In any event, I was able to reproduce the issue, so we will continue to investigate the root cause. Cheers! |
I had a same mistake. In my case the system do not have enough memory to execute dnf. Vagrantfile # -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "fedora/31-cloud-base"
config.vm.box_version = "31.20191023.0"
config.vm.provider :libvirt do |v|
#v.memory = 1024
end
config.vm.provision "shell", inline: <<-SHELL
set -e
dnf install -y vim || (
echo result: $? at $(date) >&2
dmesg | tail -n 7 >&2
)
SHELL
end Output of
|
@alexander-gertovsky: Thanks for figuring that out! I took another look at the original setup above and I confirmed that indeed the OOM-killer was kicking in. @lioramilbaum: Could you please try adding more memory to your virtual machine, for example:
Adding more memory to the VM got me through the installation process, but unfortunately after that I ran into docker/cli#2104, so we will discuss if & how we can address that. Cheers! |
@jbonhag tried what you have advised and it worked |
Hi @lioramilbaum, that's great to hear! I'm going to go ahead and close this issue. Cheers! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Vagrant version
2.2.6
Host operating system
os-x
Guest operating system
fedora 31
Vagrantfile
Debug output
https://gist.github.com/lioramilbaum/27ce50de02aa856f33e0ce1fee68719f
The text was updated successfully, but these errors were encountered: