mac系统,学习到3-1章节遇到问题:在charpter3目录里执行vagrant up出现内文错误,造成centos7里labs目录为空。怎么解决?
来源:3-3 DIY一个Base Image
mydreamhorse
2018-09-21
==> docker-host: Rsyncing folder: /Users/mydream/lab/mydocker/docker-k8s-devops/chapter3/ => /vagrant
==> docker-host: Mounting shared folders…
docker-host: /home/vagrant/labs => /Users/mydream/lab/mydocker/docker-k8s-devops/chapter3/labs
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem “vboxsf” is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:
mount -t vboxsf -o uid=1000,gid=1000 home_vagrant_labs /home/vagrant/labs
The error output from the command was:
mount: unknown filesystem type ‘vboxsf’
2回答
-
慕尼黑3917127
2019-09-28
vagrant-vbguest
00 -
麦兜搞IT
2018-09-21
您好,您可以试试安装这个插件
vagrant plugin install vagrant-vbguest
022019-09-28
相似问题