Tuesday, March 26, 2019

No such file or directory @ rb_sysopen - vagrant-proxyconf-docker-config.json (Errno::ENOENT)



Problem

The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 6.0.4 r128413
    default: VirtualBox Version: 5.2
==> default: Configuring proxy for Docker...
==> default: Running cleanup tasks for 'reload' provisioner...
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
/.vagrant.d/gems/2.4.4/gems/vagrant-proxyconf-2.0.0/lib/vagrant-proxyconf/action/configure_docker_proxy.rb:50:in `write': No such file or directory @ rb_sysopen - /tmp/vagrant-proxyconf-docker-config.json (Errno::ENOENT)
        from /.vagrant.d/gems/2.4.4/gems/vagrant-proxyconf-2.0.0/lib/vagrant-proxyconf/action/configure_docker_proxy.rb:50:in `block in docker_client_config_path'





Solution



First check and upgrade Virtualbox version

https://github.com/dotless-de/vagrant-vbguest




$ vagrant plugin install vagrant-vbguest


1 comment:


  1. "No such file or directory (rb_sysopen)" is a common error in programming. It indicates that the system can't find the specified file. Games To Explore This message guides developers in troubleshooting, ensuring correct file paths.

    ReplyDelete