手机版
你好,游客 登录 注册
背景:
阅读新闻

Vagrant 1.4 发布,虚拟化开发环境部署

[日期:2013-12-10] 来源:oschina.net  作者:Linux [字体:大 中 小]

Vagrant 1.4 发布了,包含很多新特性、bug 修复和改进,下载地址:http://www.vagrantup.com/downloads.html

Vagrant是一个基于Ruby的工具,用于创建和部署虚拟化开发环境。它 使用Oracle的开源VirtualBox虚拟化系统,使用 Chef 创建自动化虚拟环境。

该版本包含如下新特性:

  • New provisioner: Docker. Install Docker, pull containers, and run containers easier than ever.
  • Machine readable output. Vagrant now has machine-friendly output by using the --machine-readable flag.
  • New plugin type: synced folder implementation. This allows new ways of syncing folders to be added as plugins to Vagrant.
  • The Vagrant.require_version function can be used at the top of a Vagrantfile to enforce a minimum/maximum Vagrant version.
  • Adding boxes via vagrant box add and the Vagrantfile both support providing checksums of the box files.
  • The --debug flag can be specified on any command now to get debug-level log output to ease reporting bugs.
  • You can now specify a memory using vb.memory setting with VirtualBox.
  • Plugin developers can now hook into environment_plugins_loaded, which is executed after plugins are loaded but before Vagrantfiles are parsed.
  • VirtualBox internal networks are now supported. [GH-2020]

其他方面的改进和 bug 修复列表请看这里。此外,官方还发布了 Vagrant 1.5 的开发计划。

Vagrant 使用非常简单:

$ vagrant box add base http://files.vagrantup.com/precise32.box
$ vagrant init
$ vagrant up
linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款