DevPod — Open-Source Dev Environments on Any Infrastructure
DevPod by Loft Labs creates reproducible, containerized development environments that run on any cloud, Kubernetes cluster, or local Docker — all from a single devcontainer.json spec.
Instalación con revisión previa
Este activo requiere revisión. El prompt copiado pide dry-run, muestra escrituras y continúa solo tras confirmación.
npx -y tokrepo@latest install df4899c5-3986-11f1-9bc6-00163e2b0d79 --target codexPrimero dry-run, confirma las escrituras y luego ejecuta este comando.
What it is
DevPod by Loft Labs is an open-source tool that creates reproducible development environments based on the devcontainer.json standard. Unlike proprietary cloud IDEs, DevPod is client-only and infrastructure-agnostic. You pick the provider (Docker, Kubernetes, AWS, GCP, Azure, SSH) and DevPod handles provisioning, connecting your IDE, and cleanup.
It targets developers who want GitHub Codespaces-like convenience without vendor lock-in. Platform teams use DevPod to standardize development environments across their organization while letting developers choose their own infrastructure.
How it saves time or tokens
DevPod eliminates the 'works on my machine' problem by ensuring every developer runs the same container environment regardless of their local OS or cloud provider. Onboarding a new team member goes from a day of setup to a single devpod up command.
Because environments are disposable and reproducible, developers can spin up isolated workspaces for each feature branch and tear them down when done, avoiding dependency conflicts between projects.
How to use
- Install the DevPod CLI:
curl -L -o devpod "https://github.com/loft-sh/devpod/releases/latest/download/devpod-linux-amd64"
chmod +x devpod && sudo mv devpod /usr/local/bin/
- Create a workspace from any Git repository:
devpod up github.com/my-org/my-repo
- Connect to the running workspace:
devpod ssh my-repo
Example
A devcontainer.json that DevPod uses to build the environment:
{
'name': 'Node.js Dev',
'image': 'mcr.microsoft.com/devcontainers/javascript-node:20',
'forwardPorts': [3000],
'postCreateCommand': 'npm install',
'customizations': {
'vscode': {
'extensions': ['dbaeumer.vscode-eslint']
}
}
}
DevPod reads this spec and provisions a container with Node.js 20, installs dependencies, and forwards port 3000 to your local machine.
Related on TokRepo
- DevOps Tools -- Infrastructure automation tools that complement container-based workflows
- Self-Hosted Tools -- Tools for running development infrastructure on your own servers
Common pitfalls
- Provider configuration is required before first use. Run
devpod provider add docker(or your preferred provider) beforedevpod upor the command fails with no provider error. - Large devcontainer images increase startup time significantly. Use slim base images and layer caching to keep workspace creation under 2 minutes.
- SSH key forwarding must be configured for private repository access inside the workspace. Use
devpod up --ssh-agent-forwardingto forward your local SSH agent.
Preguntas frecuentes
GitHub Codespaces is a managed service tied to GitHub. DevPod is client-only and infrastructure-agnostic -- you run environments on Docker, Kubernetes, or any cloud provider. Both use the devcontainer.json standard, so configurations are portable between them.
DevPod supports VS Code (local and remote), JetBrains IDEs (via Gateway), and any terminal-based editor through SSH. The desktop app provides a GUI for managing workspaces across all supported IDEs.
Yes. DevPod has a Kubernetes provider that creates workspace pods on your cluster. This lets platform teams offer development environments on shared infrastructure with resource limits and namespace isolation.
Yes. DevPod is fully open-source under the Apache 2.0 license. There is no paid tier for the CLI or desktop app. Loft Labs offers a commercial platform (Loft) for enterprise features like access control and cost management.
Yes, when using providers that support GPU passthrough (Docker with NVIDIA runtime, Kubernetes with GPU nodes, or cloud instances with GPUs). You configure GPU access in the devcontainer.json or provider settings.
Referencias (3)
- DevPod GitHub— DevPod creates reproducible dev environments based on devcontainer.json
- Dev Containers Spec— Dev Containers specification for reproducible development environments
- DevPod Documentation— Loft Labs maintains DevPod as open-source under Apache 2.0
Relacionados en TokRepo
Discusión
Activos relacionados
Zitadel — Open Source Identity Infrastructure
Zitadel is an open-source identity management platform with OIDC, SAML, SSO, MFA, passkeys, and multi-tenancy — built for cloud-native apps and enterprise needs.
Fluentd — Unified Logging Layer for Cloud-Native Infrastructure
Fluentd is a CNCF-graduated open-source data collector that unifies log collection and routing. With 1000+ plugins, it connects any source to any destination — the standard log layer for Kubernetes alongside Fluent Bit.
Budibase — Open Source Low-Code App Builder
Budibase is an open-source low-code platform for building internal tools, admin panels, dashboards, and workflow apps in minutes. Connect any database and deploy instantly.
draw.io — Free Open-Source Diagramming Tool for Any Platform
draw.io is a free, browser-based diagramming application that supports flowcharts, UML, network diagrams, and more. Works offline as a desktop app on Windows, macOS, and Linux with no account required.