Heads up! On October 1, we introduced Gitpod Flex. You can swap between documentation by using the switcher in the left navigation bar.

Development Containers

“A Development Container (or Dev Container for short) allows you to use a container as a full-featured development environment. It can be used to run an application, separate tools, libraries, or runtimes needed for working with a codebase, and to aid in continuous integration and testing. Dev containers can be run locally or remotely, in a private or public cloud, in a variety of supporting tools and editors.” - containers.dev

Gitpod offers seamless support for Dev Containers allowing you to standardize and automate your development environment across teams and projects. By defining your environment in a devcontainer.json file, Gitpod ensures that everyone on your team works with the same configuration, regardless of their local setup.

Building on Dev Container, Gitpod adds a powerful framework for running Automations in your development environments. Automations allow you to set up self-service actions like seeding databases, automating testing, managing external infrastructure lifecycle such as Kubernetes clusters, or launching and running AI agents and code assistants securely within your development environment.

Example Dev Container

language icon json
{
	"name": "Node.js Dev Container",
	"build": {
		"context": "..",
		"dockerfile": "../Dockerfile"
	},
	"customizations": {
		"vscode": {
			"extensions": ["dbaeumer.vscode-eslint"]
		}
	},
	"updateContentCommand": "npm install"
}

Was this helpful?