共享目录
问题
共享文件夹失效, 提示:
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.
解决
1 | vagrant plugin install vagrant-vbguest |
磁盘扩容
1 | 停止虚拟机 |
Docker运行权限设置
1 | 1. sudo groupadd docker # 一般安装docker后已经创建 |
SSH免密登录Permission denied
1 | Log in as root |
Vagrant ssh使用本机私钥
1 | 启动虚机 & ssh 进入虚机 |