vagrant README

The project's README from github.com/hashicorp/vagrant. As one markdown file: README.md.

Vagrant

[!IMPORTANT] HCP Vagrant is in the process of being deprecated and limited features will be available from the community edition effective November 2, 2026. Click here for more information.

This change is only for HCP Vagrant and does not apply to Vagrant CLI.

Vagrant is a tool for building and distributing development environments.

Development environments managed by Vagrant can run on local virtualized platforms such as VirtualBox or VMware, in the cloud via AWS or OpenStack, or in containers such as with Docker or raw LXC.

Vagrant provides the framework and configuration format to create and manage complete portable development environments. These development environments can live on your computer or in the cloud, and are portable between Windows, Mac OS X, and Linux.

Quick Start

Package dependencies: Vagrant requires bsdtar and curl to be available on your system PATH to run successfully.

For the quick-start, we'll bring up a development machine on VirtualBox because it is free and works on all major platforms. Vagrant can, however, work with almost any system such as OpenStack, VMware, Docker, etc.

First, make sure your development machine has VirtualBox installed. After this, download and install the appropriate Vagrant package for your OS.

To build your first virtual environment:

vagrant init hashicorp/bionic64
vagrant up

Note: The above vagrant up command will also trigger Vagrant to download the bionic64 box via the specified URL. Vagrant only does this if it detects that the box doesn't already exist on your system.

Getting Started Guide

To learn how to build a fully functional development environment, follow the getting started guide.

Installing from Source

If you want the bleeding edge version of Vagrant, we try to keep main pretty stable and you're welcome to give it a shot. Please review the installation page here.

Contributing to Vagrant

Please take time to read the HashiCorp Community Guidelines and the Vagrant Contributing Guide.

Then you're good to go!

vagrant (hashicorp/vagrant)

Searching Database…

27.2K ·GitHub
这是什么?Vagrant 是一款工具,用于构建和分发可移植的开发环境,这些环境既可以在本地运行,也可以在云端运行。
Vagrant 本身是虚拟化工具吗,还是它管理其他虚拟化平台?Vagrant 本身不进行任何虚拟化;它是一个框架和配置格式(Vagrantfile),用来驱动现有的提供程序,例如 VirtualBox、VMware、Docker、AWS、OpenStack 或 LXC。
我该如何创建第一个环境?安装 VirtualBox(或其他受支持的提供程序),为你的操作系统安装 Vagrant 软件包,然后运行 'vagrant init hashicorp/bionic64',再运行 'vagrant up'。
运行 Vagrant 之前需要安装什么?你需要在系统的 PATH 中有 bsdtar 和 curl,同时在你的机器上安装 VirtualBox 等提供程序。
托管的 HCP Vagrant 服务还值得依赖吗?不值得。HCP Vagrant 即将停用,从 2026 年 11 月 2 日起,社区版只保留有限的功能;这不影响 Vagrant 命令行工具本身。
哪些系统可以运行 Vagrant 及其环境?Vagrant 环境可以在 Windows、Mac OS X 和 Linux 之间移植。
Vagrant 中的 'box' 是什么?box 是用来创建新虚拟环境的基础镜像;如果系统中还没有它,会自动下载(例如 'hashicorp/bionic64')。
Vagrant 会把我绑定在 VirtualBox 上吗?不会。VirtualBox 只是快速入门中使用的免费默认选项;Vagrant 也可以对接 OpenStack、VMware、Docker 等其他提供程序。
Creator
hashicorp
Size
80.7 MB
Stars
27.2K
Age
16y
Commits · 90 Days