我在Vagrant遇到问题,希望他们消失。请帮我。 当我安装Vagrant时,一切正常。重新启动后问题开始了 Windows 10。
CFG:
config.vm.define "machine" do |machine|
machine.vm.box = "master"
machine.vm.hostname = "machine"
machine.vm.box_check_update = false
machine.vm.network :forwarded_port,guest: 22,host: 2222,disabled: true
machine.vm.network :forwarded_port,host: 2171
LOG2:
==> machine: Booting VM...
==> machine: Waiting for machine to boot. This may take a few minutes...
machine: SSH address: 127.0.0.1:22
machine: SSH username: vagrant
machine: SSH auth method: private key
==> machine: Forcing shutdown of VM...
==> machine: Destroying VM and associated drives...
/opt/vagrant/embedded/lib/ruby/2.4.0/socket.rb:1198:in `__connect_nonblock': Operation already in progress - connect(2) for 127.0.0.1:22 (Errno::EALREADY)
from /opt/vagrant/embedded/lib/ruby/2.4.0/socket.rb:1198:in `connect_nonblock'
from /opt/vagrant/embedded/lib/ruby/2.4.0/socket.rb:56:in `connect_internal'
from /opt/vagrant/embedded/lib/ruby/2.4.0/socket.rb:137:in `connect'
from /opt/vagrant/embedded/lib/ruby/2.4.0/socket.rb:627:in `block in tcp'