# Vagrant to Dev Containers: What Moving Involves | gen2.dev

> Vagrant is still maintained by HashiCorp, but many development environments now live in containers. What moving to Dev Containers involves.

Source: https://gen2.dev/successors/vagrant/

---

Successor Map · Infrastructure and containers

# Vagrant to Dev Containers: from virtual machines to containers

Vagrant is still a maintained HashiCorp tool for running development environments in virtual machines. Many teams now describe the same environment as a container instead, using the Development Container Specification.

![Slide: Vagrant on the left, an arrow, and Dev Containers on the right.](https://gen2.dev/img/successor-vagrant.png)

Status of the old tool

Still active

Effort to move

A real project

gen2.dev's view

Leave it

Sources checked

2026-11-28

## Key facts

Gen 1

![Vagrant logo](https://gen2.dev/icons/tech/vagrant.png)Vagrant

Gen 2

![Dev Containers logo](https://gen2.dev/icons/tech/dev-containers.png)Dev Containers (the Development Container Specification)

Kind of tool

[Infrastructure and containers](https://gen2.dev/successors/infrastructure/)

Status of Gen 1

Still active HashiCorp's Vagrant documentation, read on November 28, 2026, shows v2.4.9 as the latest version, and the Vagrant repository says the HCP Vagrant deprecation does not apply to the Vagrant CLI.

Effort to move

A real project: plan it and run both for a while

What breaks

A container is not a virtual machine, so environments that need a different operating system than the host cannot be moved as they are.

Should you move?

Leave it The Vagrant CLI is maintained, and HashiCorp's deprecation notice covers the hosted HCP Vagrant service only. This is gen2.dev's view, not the maintainers'.

Sources checked

2026-11-28, [6 sources](#sources)

## Gen 1 and Gen 2 side by side

GitHub

![Vagrant logo](https://gen2.dev/icons/tech/vagrant.png)Gen 1

![Dev Containers logo](https://gen2.dev/icons/tech/dev-containers.png)Gen 2

Repository

[hashicorp/vagrant](https://github.com/hashicorp/vagrant)

[devcontainers/cli](https://github.com/devcontainers/cli)

Latest version

v2.4.9

v0.91.0 (newest tag)

Latest release

Aug 21, 2025

Nov 20, 2026

Repository created

Jan 21, 2010

Apr 27, 2022

License

MIT

MIT

GitHub stars

27,245

3,046

Last code push

Nov 23, 2026

Nov 26, 2026

Archived

No

No

Read from GitHub on November 29, 2026. Stars measure attention, not use. A dash means the figure does not apply to that kind of listing.

Both tools answer the same question: how does a new developer get a working environment on day one?

## What Gen 1 was

HashiCorp's README says "Vagrant is a tool for building and distributing development environments." Its documentation is more specific: "Vagrant is the command line utility for managing the lifecycle of virtual machines."

It is maintained. The documentation shows v2.4.9 as the latest version.

One part is being wound down. The README carries a notice that HCP Vagrant, the hosted service, "is in the process of being deprecated," with limited features in the community edition "effective November 2, 2026." The next line limits the scope: "This change is only for HCP Vagrant and does not apply to Vagrant CLI."

## What replaced it

For many teams, a container. The project's site describes the Development Container Specification in one line: "An open specification for enriching containers with development specific content and settings." A dev container "allows you to use a container as a full-featured development environment."

The project lists the tools that read it, among them Visual Studio Code, Visual Studio, IntelliJ IDEA, the Dev Container CLI and GitHub Codespaces.

HashiCorp's own comparison names the appeal: "Containers are generally more lightweight than virtual machines, so starting and stopping containers is extremely fast."

## What moving involves

There is no converter. A Vagrant setup describes a machine and how to provision it. A dev container is described by a `devcontainer.json` file in the project, which tells supporting tools how to reach the container and what tools and runtime it holds.

So the work is a rebuild: take what the provisioning installs and express it as a container definition.

There is a halfway step. Vagrant has a Docker provider, which "allows for your development environments to be backed by Docker containers rather than virtual machines."

Both descriptions can sit in the same repository while the team switches over. That is a small case of [running two systems](https://gen2.dev/guide/running-two-systems/), and it should have an end date.

## What breaks

Anything that depended on a real virtual machine. HashiCorp's comparison points at the gaps: "Currently, Docker lacks support for certain operating systems (such as BSD)." It also notes that Vagrant "will allow you to run a Windows development environment on Mac or Linux."

Vagrant runs on many backends, which the README lists as local platforms such as VirtualBox or VMware, cloud platforms, and containers. A dev container is only ever a container.

## Should you move?

Leave it. The Vagrant CLI is maintained, and the deprecation notice is for the hosted service.

The exceptions run both ways. Teams that depend on HCP Vagrant should read that notice now. Teams that need a full virtual machine, or an operating system containers do not cover, should stay on Vagrant.

## Common questions

### Is Vagrant dead?

No. Its maintainers have not announced an end. HashiCorp's Vagrant documentation, read on November 28, 2026, shows v2.4.9 as the latest version, and the Vagrant repository says the HCP Vagrant deprecation does not apply to the Vagrant CLI.

### What replaced Vagrant?

Dev Containers (the Development Container Specification). Effort to move: A real project: plan it and run both for a while

### Should I move off Vagrant?

gen2.dev's view: Leave it. The Vagrant CLI is maintained, and HashiCorp's deprecation notice covers the hosted HCP Vagrant service only.

## Sources

1.  [Vagrant documentation - HashiCorp Developer](https://developer.hashicorp.com/vagrant/docs) - the description of Vagrant and v2.4.9 shown as the latest version
2.  [hashicorp/vagrant README - GitHub](https://github.com/hashicorp/vagrant/blob/main/README.md) - the description of Vagrant, the platforms it runs on, and the HCP Vagrant deprecation notice with its November 2, 2026 date
3.  [Vagrant vs. Docker - HashiCorp Developer](https://developer.hashicorp.com/vagrant/intro/vs/docker) - HashiCorp's own comparison: container speed, operating systems Docker lacks, and running Windows environments
4.  [Docker provider - Vagrant documentation](https://developer.hashicorp.com/vagrant/docs/providers/docker) - that Vagrant can back a development environment with Docker containers
5.  [Development Containers - containers.dev](https://containers.dev/) - the definition of a development container and of the specification
6.  [Supporting tools and services - containers.dev](https://containers.dev/supporting) - the editors, tools and services that support the specification, and the role of devcontainer.json
7.  [hashicorp/vagrant - GitHub](https://github.com/hashicorp/vagrant) - latest release, license, stars, last push and archive status, read on November 29, 2026
8.  [devcontainers/cli - GitHub](https://github.com/devcontainers/cli) - latest release, license, stars, last push and archive status, read on November 29, 2026

Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.

## How to do the move

The pattern that fits this kind of replacement:

[Running two systems](https://gen2.dev/guide/running-two-systems/)

[All successor entries](https://gen2.dev/successors/)

## More in Infrastructure and containers

-    [![CentOS Linux logo](https://gen2.dev/icons/tech/centos-linux.png) CentOS Linux to Rocky Linux, AlmaLinux or CentOS Stream Abandoned A real project Move now](https://gen2.dev/successors/centos-linux/)
-    [![Docker Compose v1 logo](https://gen2.dev/icons/tech/docker-compose-v1.png) Docker Compose v1 to Compose v2 Abandoned Drop-in Move now](https://gen2.dev/successors/docker-compose-v1/)
-    [![Docker Desktop logo](https://gen2.dev/icons/tech/docker-desktop.png) Docker Desktop to Podman Desktop, Rancher Desktop or Colima Still active Drop-in Leave it](https://gen2.dev/successors/docker-desktop/)
-    [![Docker Swarm logo](https://gen2.dev/icons/tech/docker-swarm.png) Docker Swarm to Kubernetes Still active A real project Leave it](https://gen2.dev/successors/docker-swarm/)
-    [![Terraform logo](https://gen2.dev/icons/tech/terraform.png) Terraform to OpenTofu Still active Drop-in Leave it](https://gen2.dev/successors/terraform/)

[All infrastructure and containers](https://gen2.dev/successors/infrastructure/)
