Vagrant命令究竟做了什么? - What exactly do the Vagrant commands do?

问题:

There is surprisingly no documentation on what the Vagrant commands do, other than references throughout the "getting started" tutorial. 令人惊讶的是,没有关于Vagrant命令的文档,除了“入门”教程中的参考文献。

What I've worked out so far: 到目前为止我已经解决了什么:

  • box - manage " boxes " box - 管理“ 盒子
  • destroy - shut down the VM then delete its stored image? destroy - 关闭VM然后删除其存储的图像?
  • gem
  • halt - shut down the VM halt - 关闭VM
  • init - prepare a directory with a new Vagrantfile init - 使用新的Vagrantfile准备一个目录
  • package - shut down the VM, then convert it to a 'package' which can be turned into a box? package - 关闭VM,然后将其转换为'package',可以将其变成一个盒子? (Or something) (或者其他的东西)
  • provision - run just the provisioning (eg, Chef, Puppet...) stage provision - 只运行配置(例如,Chef,Puppet ......)阶段
  • reload - modify the VM configuration (eg, reapply Vagrantfile), reboot the VM, reprovision reload - 修改VM配置(例如,重新应用Vagrantfile),重新启动VM,重新配置
  • resume - un-suspend (ie, unhibernate) resume - un-suspend(即unhibernate)
  • ssh - open an SSH shell connection to the VM ssh - 打开与VM的SSH shell连接
  • ssh-config
  • status
  • suspend - hibernate the VM suspend - 休眠VM
  • up - some or all of: copy a VM image to create a new VM, apply configuration to it, boot it up - 部分或全部:复制VM映像以创建新VM,对其应用配置,引导它

Do I have these right? 我有这些权利吗? What are the others? 还有什么? I'm still a bit unclear on the exact difference between reload and destroy / up . 我仍然有点不清楚reloaddestroy / up之间的确切区别。


解决方案:

参考: https://stackoom.com/en/question/lw5C
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章