vagrant init centos7 报错

来源:2-5 Vagrant&VirtualBox for Windows

404_

2020-11-25

C:\Users\Administrator>D:

D:>cd Vanrant

D:\Vanrant>
D:\Vanrant>
D:\Vanrant>mkdir centos7

D:\Vanrant>cd centos7

D:\Vanrant\centos7>vagrant init centos7
D:/软件/软件安装位置/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in require': cannot load such file -- log4r (LoadError) from D:/软件/软件安装位置/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:inrescue in require’
from D:/软件/软件安装位置/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:40:in require' from D:/软件/软件安装位置/Vagrant/embedded/gems/gems/vagrant-2.0.1/bin/vagrant:61:in

写回答

1回答

麦兜搞IT

2020-11-26

您好,正确的命令是 vagrant init centos/7  ,不是centos7

0
0

系统学习Docker 践行DevOps理念

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

3297 学习 · 1895 问题

查看课程