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

0
0

麦兜搞IT

2018-09-21

您好,您可以试试安装这个插件 

vagrant plugin install vagrant-vbguest

0
2
慕尼黑3917127
开了代理就行了,真实
2019-09-28
共2条回复

系统学习Docker 践行DevOps理念

无论你是开发、测试还是运维,Docker都是你的必备技能。

3297 学习 · 1895 问题

查看课程