Nic*_*ino 2 windows virtualbox vagrant vagrant-windows

我是Windows的新手.我使用Windows 10.当我在我的机器上运行vagrant时,UID存在一些问题.请查看图片了解更多信息.
我跑的时候vagrant up,我收到一些警告:
The VirtualBox VM was created with a user that doesn't match the
current user running Vagrant. VirtualBox requires that the same user
be used to manage the VM that as created. Please re-run Vagrant with
that user. This is not a Vagrant issue.
The UID used to create the VM was: 1000
Your UID is: 0
小智 6
看起来你以sudo身份登录,因此UID是不同的.注销sudo并以普通用户的身份尝试流浪.
如果上述方法无效,请更新以下文件
vi .vagrant/machines/default/virtualbox/creator_uid
在其中添加0
如果这有帮助,请告诉我.
| 归档时间: | 
 | 
| 查看次数: | 6452 次 | 
| 最近记录: |