Vagrant是一个基于Ruby的工具,用于创建和部署虚拟化开发环境,而vagrantfile也是ruby语法写的配置文件。
对ruby语法感兴趣的可以移步这里学习哈!...=> 8000},
{:guest => 8001, :host => 8001},
{:guest => 8444, :host => 8444},
{:guest...=> 8443, :host => 8443},
{:guest => 8080, :host => 8080,:auto_correct => true},
{:guest...=> 8000,:auto_correct => true},
{:guest => 3306, :host => 3306},
{:guest => 8500, :host..., guest: port[:guest], host: port[:host]
end
end
host.vm.network "private_network