dstack is an open-source platform that transforms any Docker container into a secure Trusted Execution Environment (TEE) deployment with zero code changes. This overview introduces the fundamental concepts and guides you to the detailed documentation you need.
Component | Primary Role | When You’ll Use It |
---|---|---|
dstack-vmm | Manages TEE virtual machines | Every deployment |
dstack-gateway | Secure HTTPS gateway | Web-accessible applications |
dstack-kms | Cryptographic key management | Secure data handling |
dstack-guest-agent | Container management in TEE | Runtime operations |
dstack-os | Minimal secure operating system | TEE environment foundation |
dstack abstracts the complexity of TEE deployment through a familiar Docker-centric workflow:
Start here. Learn the role of each component and how they work together.
Deep dive into configuration, APIs, and technical implementation patterns.
Understand secure traffic routing, VPN tunnels, and network isolation.
TEE fundamentals, attestation, and the cryptographic foundations of trust.
Complete picture: how everything connects, scales, and operates together.
/kms
, /vmm
, and /gateway
work together will give you much better intuition for the deeper material.
Once you’re comfortable with those, then we recommend moving on to security and research for a look at the underlying security research and design decisions.