请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

vagrant 启动失败

老师。您好,又有一个问题麻烦你,我使用第六章里面的vagrant file 启动一个虚拟机发现启动失败,谷歌后发现是因为 共享盘的问题,但是我依旧解决不了,请老师帮忙。报错如下:
我的环境是mac的

==> docker-host: Rsyncing folder: /Users/sean/Docker/coding-189/coding-189/chapter6/ => /vagrant
==> docker-host: Mounting shared folders...
    docker-host: /home/vagrant/labs => /Users/sean/Docker/coding-189/coding-189/chapter6/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'

正在回答 回答被采纳积分+3

2回答

提问者 精慕门8459013 2018-10-30 11:31:31

老师你好,按照您的命令,安装后,卡在了下面。

    docker-host: username = 
    docker-host: + sh -c 'yum makecache'
    docker-host: Loaded plugins: fastestmirror
    docker-host: Loading mirror speeds from cached hostfile
    docker-host:  * base: mirror.bit.edu.cn
    docker-host:  * extras: mirrors.aliyun.com
    docker-host:  * updates: mirror.bit.edu.cn
    docker-host: Metadata Cache Created
    docker-host: + sh -c 'yum install -y -q docker-ce'
    docker-host: Delta RPMs reduced 346 k of updates to 203 k (41% saved)
    docker-host: /usr/share/man/man5/libaudit.conf.5.gz: No such file or directory
    docker-host: cannot reconstruct rpm from disk files
    docker-host: /usr/share/doc/audit-2.8.1/COPYING: No such file or directory
    docker-host: cannot reconstruct rpm from disk files


0 回复 有任何疑惑可以回复我~
  • 您好,有点奇怪,那请问您的系统是什么,然后之前用过docker-machine没,就是我们最开始介绍docker安装的时候介绍的
    回复 有任何疑惑可以回复我~ 2018-11-01 22:06:26
麦兜搞IT 2018-10-29 17:14:56

您好,请安装一下vagrant plugin install vagrant-vbguest

0 回复 有任何疑惑可以回复我~

相似问题

登录后可查看更多问答,登录/注册

问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号